https://bugzilla.wikimedia.org/show_bug.cgi?id=35628
Web browser: ---
Bug #: 35628
Summary: #switch or #ifeq: {{PAGENAME}} doesn't work with title
containing apostrophe
Product: MediaWiki
Version: 1.19
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
When doing a #switch or #ifeq on a {{PAGENAME}} argument, and page title
contains an apostrophe (for example, [[L'Aquila]]), it doesn't match correctly.
For example:
{{#switch:{{PAGENAME}}
|L'Aquila = OK
}}
doesn't return OK. I tested on en.wikipedia and it.wikipedia.
Note that the following correctly returns OK:
{{#switch:L'Aquila
|L'Aquila = OK
}}
And {{PAGENAME}} alone correctly returns L'Aquila, but together they don't
work...
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l