Last modified: 2008-11-08 23:21:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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