Lucas_Werkmeister_WMDE added a comment.

Just use the wfEscapeWikitext() global function (Defined in includes/GlobalFunctions.php), that's the standard solution the rest of MediaWiki uses.

I don’t think we can do that – {{GENDER}} needs the unescaped username. Otherwise we’ll address these users with the wrong gender. (I tried it out locally, {{GENDER:*asterisk|he|she|they}} produces “she” while {{GENDER:*asterisk|he|she|they}} produces “they”.)

And thanks for the other Wikitext examples! But I think none of them affect this bug.

---- at the beginning of a line generates an <hg>.

Good point, but apparently not within {{GENDER:|----}}, though I’m not sure why.

__TOC__

Right, but in a username _ = , so trying to register as __TOC__ just results in the username “TOC”.

magic links

Also not expanded inside a link.


TASK DETAIL
https://phabricator.wikimedia.org/T182800

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: gerritbot, Bawolff, Lucas_Werkmeister_WMDE, Aklapper, Cpaulf30, Lahi, Gq86, Baloch007, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to