https://bugzilla.wikimedia.org/show_bug.cgi?id=17283
Summary: Double URL escaping in show/hide links for log entries
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: easy, need-review, patch
Severity: enhancement
Priority: Normal
Component: Deleting
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=5754)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=5754)
Simple patch fixing the bug
LogEventsList::getShowHideLinks uses Title::getPrefixedUrl, but the result is
URL-encoded once again after it is passed through Skin::revDeleteLink.
Title:getPrefixedDBkey should be used instead (c.f. PageHistory::historyLine).
This is probably not a problem for English-language wikis (since Special:Log
does not have any escaped characters), but e.g. for a Czech-language wiki, that
breaks the link (since SpeciálnÃ:Log is double-encoded to
Speci%25C3%25A1ln%25C3%25AD%3ALog).
--
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