Page MenuHomePhabricator

ProofreadPage canonical namespaces should be canonical and not localized
Closed, ResolvedPublic

Description

The core namespaces have a canonical names instead localized ones.

For example for a Finnish wiki:

<ns id="2" case="first-letter" subpages="" canonical="User"

xml:space="preserve">Käyttäjä</ns>

But Proofreadpage uses the localized string too as canonical:

<ns id="250" case="first-letter" canonical="Sivu"

xml:space="preserve">Sivu</ns>

It should be instead:

<ns id="250" case="first-letter" canonical="Page"

xml:space="preserve">Sivu</ns>


Version: master
Severity: normal
URL: https://fi.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases

Details

Reference
bz47596

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:33 AM
bzimport set Reference to bz47596.
bzimport added a subscriber: Unknown Object (MLST).

See also bug 37483.

This behavior were introduced in Gerrit change Iada3840561a68113985d778db731a3ef8af523e2.

timothyausten wrote:

I do not understand the process here, but It appears that no one is addressing this bug because no one is assigned to it.

Correct. This bug needs somebody to write a patch to fix it, and anybody can do so: http://www.mediawiki.org/wiki/Developer_access

(In reply to comment #1)

I don't think that this behaviour have been introduced in change
Iada3840561a68113985d778db731a3ef8af523e2 .

Before the change, the localized namespaces where added to $wgExtraNamespaces in the configuration file of the wiki and, if the wikis wants, the English namespaces was also added to $wgNamespaceAliases . So the localized names where also used as canonical.

So, it's not a regression introduced by this change.

Fixed by change Ie0800246e7b995ec4f3e9d19b0f6705fb72afa1c that have been deployed on Wikisources today.

p.selitskas wrote:

May this have connection to bug 41324 somehow?