Last modified: 2014-08-30 17:42:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72212, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70212 - {{{banner}}} is not changed to the actual banner name in display time
{{{banner}}} is not changed to the actual banner name in display time
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-30 16:51 UTC by Glaisher
Modified: 2014-08-30 17:42 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Comment 1 Peter Coombe 2014-08-30 17:42:46 UTC
Viewing the HTML source, the {{{banner}}} variable is actually being substituted correctly.

The problem is because the banner name started with a digit. Contrast:
https://meta.wikimedia.org/?banner=10Anniversary_Uiquipedia&force=1
(edit: https://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/edit/10Anniversary_Uiquipedia)

with this cloned renamed version:
https://meta.wikimedia.org/?banner=Uiquipedia_10Anniversary&force=1
(edit: https://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/edit/Uiquipedia_10Anniversary)

The name is used in a CSS selector, and these cannot start with a digit (http://www.w3.org/TR/CSS21/syndata.html#characters) so that's why the banner is not styled correctly. I'll add a note to the documentation to avoid starting banner names with a digit.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links