https://bugzilla.wikimedia.org/show_bug.cgi?id=70212

Peter Coombe <pcoo...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |pcoo...@wikimedia.org
         Resolution|---                         |INVALID

--- Comment #1 from Peter Coombe <pcoo...@wikimedia.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to