Last modified: 2013-09-09 13:37:47 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 T55861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53861 - File names containing URL special characters are not properly escaped in log links on Commons (due to custom JS)
File names containing URL special characters are not properly escaped in log ...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-06 19:18 UTC by Bryan Davis
Modified: 2013-09-09 13:37 UTC (History)
3 users (show)

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


Attachments

Description Bryan Davis 2013-09-06 19:18:14 UTC
A file containing an ampersand (&) in the file name was deleted. The ImagePage that is shown in the historical file location displays the log message that documents the deletion. Within this log message entry links are provided to [[Special:GlobalUsage]] and toolserver.org/~delinker. Neither of these links properly encodes the ampersand for use in a URL. The ampersand appears as a litter element of the link href instead of being encoded as a '%26' entity.

See https://commons.wikimedia.org/wiki/File:Diallob%26w.jpg
Comment 1 Bryan Davis 2013-09-07 00:52:39 UTC
This may not be a bug in core. It may be a bug in one or more extensions installed on commons. Or it may be a core bug that those extensions expose.

Cannot reproduce on my vagrant vm as I apparently don't have the appropriate extensions installed/configured. Will continue to investigate.
Comment 2 Kunal Mehta (Legoktm) 2013-09-09 13:03:49 UTC
This is not a bug in any MediaWiki related code, Commons actually has some custom javascript to add the "delinker log" and "global usage" links, I filed a request to fix the JS at https://commons.wikimedia.org/wiki/MediaWiki_talk:Common.js#urlencode_global_usage_.2F_delinker_log_links

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


Navigation
Links