Page MenuHomePhabricator

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

Description

Should we accommodate unusual syntax in tag names?

testwiki:

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 25 2017, 8:03 AM
Etonkovidova updated the task description. (Show Details)Oct 25 2017, 8:41 AM

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

Checked in betalabs:

Etonkovidova closed this task as Resolved.Nov 3 2017, 1:13 AM