Page MenuHomePhabricator

Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}
Closed, ResolvedPublic


Author: gangleri


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
see / compare: function getPartialURL() , function getPrefixedURL() and function
getSubpageUrlForm() .

Thanks in advance!

best regards reinhardt [[user:gangleri]]

Version: unspecified
Severity: trivial



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5530.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

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.

marco wrote:


This removes every transformation of parentheses and ensures proper URIs.