It means to make jokes about someone or something in a friendly or teasing way.

ismijavati, izrugivati se, šaliti se na račun koga