https://bugzilla.wikimedia.org/show_bug.cgi?id=27289
Summary: {{PAGENAME}} with apostrophies break queries if
{{PAGENAME}} is included in property name
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Complicated and likely fringe problem:
http://thethirdturn.com/w/index.php?title=John_O'Neal,_Jr.&oldid=144332 <- ugly
output.
This normally works fine but it appears if the page name has an apostrophe in
it, this templating system breaks.
What appears to be happening is that when {{PAGENAME}} is passed, it becomes
the first parameter ({{{1}}}) here but it's not returning any values:
http://thethirdturn.com/w/index.php?title=Template:SeasonResultForm&action=edit
. Somewhere, the encoding is breaking with the {{PAGENAME}} magic word.
When I directly substitute a name in (the end-around on the John O'Neal, Jr.
page), this works fine, properly returning values that correspond to say the
property named John O'Neal, Jr. Name. It just doesn't like
Property:{{PAGENAME}} Name when {{PAGENAME}} contains an apostrophe.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l