Page MenuHomePhabricator

Display titles with italics show as HTML
Closed, ResolvedPublic

Description

For example, page 1 sets a display title:

This is the {{DISPLAYTITLE:Display ''title''}} of this page.

and page 2 uses it:

and what is the title of [[DisplayTitle]]?

And it displays as:

and what is the title of Display <i>title</i>?

I've started a patch https://gerrit.wikimedia.org/r/#/c/393057/ for this, but haven't solved the problem at all, just written a test for it.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 393057 had a related patch set uploaded (by Samwilson; owner: Samwilson):
[mediawiki/extensions/DisplayTitle@master] Add test for italics in title

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

This comment was removed by Izno.

Thank you for reporting this! I just added some code to fix this to your patch.

Change 393057 merged by Cicalese:
[mediawiki/extensions/DisplayTitle@master] Fix HTML formatting in title.

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

CCicalese_WMF claimed this task.
cicalese edited subscribers, added: cicalese; removed: CCicalese_WMF.