Should we accommodate unusual syntax in tag names?
testwiki:
Etonkovidova | |
Oct 25 2017, 8:03 AM |
F10579995: Screen Shot 2017-11-02 at 6.11.45 PM.png | |
Nov 3 2017, 1:13 AM |
F10425405: rcfilters-xss-tags.png | |
Oct 25 2017, 8:58 AM |
F10424785: Screen Shot 2017-10-25 at 1.28.02 PM.png | |
Oct 25 2017, 8:03 AM |
Should we accommodate unusual syntax in tag names?
testwiki:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
RCFilters: HTML-escape tag names in filter capsules | mediawiki/core | master | +5 -4 |
It looks like that tag doesn't have a description message defined? That's not something that usually happens, but we should still handle that gracefully.
Nope, the tag name is actually defined that way (!) https://test.wikipedia.org/wiki/MediaWiki:Tag-foo-description
The bug here is that we are treating tag descriptions as HTML (!!) when we shouldn't.
Change 386344 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/core@master] RCFilters: HTML-escape tag names in filter capsules
Change 386344 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: HTML-escape tag names in filter capsules