[go: up one dir, main page]

Page MenuHomePhabricator

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

Description

Should we accommodate unusual syntax in tag names?

testwiki:

Screen Shot 2017-10-25 at 1.28.02 PM.png (446×755 px, 61 KB)

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.

rcfilters-xss-tags.png (66×466 px, 8 KB)

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