Basically, someone wishes for something, then the granter misquotes it and then grants it in that form, probably saying the outcome as well.
PERSON 1 wrote:I wish i was totally gay!
Granted, you now love all the men in this universe.
I wish I was good at maths!
So, I wish I was mentally insane!