Page MenuHomePhabricator

Blueprint sidebar nav shows CSS if you use {{DISPLAYTITLE}}
Closed, ResolvedPublic

Description

If you fiddle with {{DISPLAYTITLE}}, e.g. to hide the main page, then the Blueprint sidebar displays the HTML text of the CSS as the title.

To reproduce, create a page like http://livingstyleguide.wmflabs.org/wiki/Displaytitle_bug

The fix is easy, just use some other key from QuickTemplate's data that shows a cleaned-up title. For devhub I used {{titletext}} instead of {{title}}, which also drops the namespace prefix.

Event Timeline

Spage raised the priority of this task from to Medium.
Spage updated the task description. (Show Details)
Spage subscribed.
Spage added a project: Blueprint.
Spage set Security to None.

Change 220088 had a related patch set uploaded (by Spage):
Don't use {{title}} in sidebar

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

Change 220088 merged by Prtksxna:
Don't use {{title}} in sidebar

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