In https://www.mediawiki.org/wiki/Manual:Messages_API there is no documentation nor any word about Message::rawParam() method. I think it should be changed, because it would help other developers (me in the past too) who wanted an escape method for Message and weren't aware of any.
Description
Description
Event Timeline
Comment Actions
It actually is here:
The second one substitutes the rawParams after the message has been otherwise processed; this means that these parameters are not available to parser functions nor are they escaped if escaping output format is used (see below). (...)