Last modified: 2008-11-08 23:21:48 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 T7530, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5530 - Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Gan...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-10 23:08 UTC by lɛʁi לערי ריינהארט
Modified: 2008-11-08 23:21 UTC (History)
2 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-04-10 23:08:24 UTC
Hallo!

This is a trivial issue:

The examples in the refered section at the url show that "(" and ")" are 
encoded differently in {{PAGENAMEE}} then in {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}.

I suggest to use the same encoding consistently.
This will require changes in
http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_6/phase3/includes/Title.php?view=markup
see / compare: function getPartialURL() , function getPrefixedURL() and function
getSubpageUrlForm() .
 

Thanks in advance!

best regards reinhardt [[user:gangleri]]
Comment 1 Rob Church 2006-04-16 19:28:24 UTC
The functions referenced all do something a little bit different to the URL once
it's obtained. Some of them unescape the parentheses; in all cases, a comment
"is this safe?" is present. So far, I've seen no evidence it's not, but perhaps
it would be best if we removed this step from each case to guarantee proper URLs.
Comment 2 Marco 2008-11-08 16:40:30 UTC
Fix: http://pastebin.com/m6cde421

This removes every transformation of parentheses and ensures proper URIs.
Comment 3 Marco 2008-11-08 23:21:48 UTC
Fixed in r43319

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


Navigation
Links