Last modified: 2011-08-18 03:16:49 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 T29289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27289 - {{PAGENAME}} with apostrophies break queries if {{PAGENAME}} is included in property name
{{PAGENAME}} with apostrophies break queries if {{PAGENAME}} is included in p...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-09 22:20 UTC by Tim Quievryn
Modified: 2011-08-18 03:16 UTC (History)
3 users (show)

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


Attachments

Description Tim Quievryn 2011-02-09 22:20:54 UTC
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.
Comment 1 Tim Quievryn 2011-08-18 03:12:29 UTC
Also seems to choke on periods in property names in a similar way.

Oddly not for an ampersand.

I know this is a relatively minor and fringe bug, but this seems like it would be a rather simple encoding issue somewhere. I would appreciate it receiving a look very soon.
Comment 2 Tim Quievryn 2011-08-18 03:14:04 UTC
* Correction to Comment #1 - "Choke on periods" ... Periods that are part of the {{PAGENAME}} variable. I do not believe this is an issue with normal properties with periods in them.
Comment 3 Bawolff (Brian Wolff) 2011-08-18 03:16:49 UTC
Same basic issue as bug 16474

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


Navigation
Links