https://bugzilla.wikimedia.org/show_bug.cgi?id=25354
Summary: CentralNotice $sitename variable not working with ParserFunctions Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: CentralNotice AssignedTo: rkald...@wikimedia.org ReportedBy: b...@caseybrown.org CC: az1...@gmail.com, tf...@wikimedia.org The new variable for {{SITENAME}} ($sitename) doesn't seem to be working with ParserFunctions, which we need for some languages to work properly. For example, see the Catalan version of the VectorNewLook_phase3 banner.[0] We use this code: {{#switch:{{SITENAME}} |Viquipèdia=La {{SITENAME}} està |Viccionari=El {{SITENAME}} està |Viquillibres|Viquitexts=Els {{SITENAME}} estan |Viquinotícies|Viquidites=Les {{SITENAME}} estan |#default={{SITENAME}} està }} canviant d'aspecte. so that the banner is grammatically correct on all of the projects. I replaced {{SITENAME}} with $sitename to see if this still works with your new variable, but it looks like it doesn't: * http://ca.wikipedia.org/wiki/?banner=VectorNewLook_phase3 * http://ca.wiktionary.org/wiki/?banner=VectorNewLook_phase3 Both of those are showing the default phrasing, "SITENAME està", while they should say "La Viquipèdia està" and "El Viccionari està" respectively... so something's not working and the ParserFunction isn't being processed correctly. [0]http://meta.wikimedia.org/wiki/Special:NoticeTemplate/view?template=VectorNewLook_phase3&wpUserLanguage=ca -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- 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