Last modified: 2010-05-15 14:36:29 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 T5218, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3218 - history/diffs broken when page title contains an apostrophe
history/diffs broken when page title contains an apostrophe
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-22 04:40 UTC by mark_sweep
Modified: 2010-05-15 14:36 UTC (History)
1 user (show)

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


Attachments

Description mark_sweep 2005-08-22 04:40:51 UTC
This problem affects version 1.6alpha on the live English 'pedia.  The problem
is that pages with titles like "Student's t-distribution" cause problems when
displaying diffs, in particular the "title=" field in the URL and the links in
the page tabs (in Monobook) are wrong.  To reproduce this, do the following:

1. go to
http://en.wikipedia.org/w/index.php?title=Student%27s_t-distribution&action=history
(no problem there)
2. click on any two versions and then on the "compare..." button
3. the page that comes up has the wrong URL title= field and a different, but
also wrong, page title, for example:
http://en.wikipedia.org/w/index.php?title=Student&diff=21545885&oldid=20540703

Note how the title= field in that last URL indicates that the diff is about the
article "Student", not "Student's t-distribution". The links to "article",
"discussion", "edit this page", etc. as well as "rollback" all pertain to
"Student", not to "Student's t-distribution".
Comment 1 Brion Vibber 2005-08-22 05:48:51 UTC
Looks like some bogus JavaScript. Taking...
Comment 2 Brion Vibber 2005-08-22 06:14:53 UTC
Incorrect quoting of escaped attribute value; cut-off but appears non-exploitable.

Fix in revision 1.86 of includes/PageHistory.php.

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


Navigation
Links