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

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz47596.
Dereckson created this task.Via LegacyApr 24 2013, 7:08 AM
Dereckson added a comment.Via ConduitApr 24 2013, 7:19 AM

See also bug 37483.

This behavior were introduced in Gerrit change Iada3840561a68113985d778db731a3ef8af523e2.

bzimport added a comment.Via ConduitMay 9 2013, 9:05 AM

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.

Aklapper added a comment.Via ConduitMay 9 2013, 1:31 PM

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

Tpt added a comment.Via ConduitMay 10 2013, 10:23 AM

(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.

Tpt added a comment.Via ConduitJun 24 2013, 7:02 PM

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

bzimport added a comment.Via ConduitJun 30 2013, 9:03 PM

p.selitskas wrote:

May this have connection to bug 41324 somehow?

Legoktm edited projects, added MW-1.22.0-release; removed MW-extension-1.22-version.Via WebDec 16 2014, 7:07 PM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.