Page MenuHomePhabricator

[wmf.5] testwiki - Tag names are not correctly displayed
Closed, ResolvedPublic

Description

Should we accommodate unusual syntax in tag names?

testwiki:

Event Timeline

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

https://gerrit.wikimedia.org/r/386344

Change 386344 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: HTML-escape tag names in filter capsules

https://gerrit.wikimedia.org/r/386344