Page MenuHomePhabricator

Page display title should be allowed to use a non-existent fake namespace after move
Closed, ResolvedPublic

Description

After the page in the URL has been moved to a different namespace, everything seems to work (except that it needed a dummy edit to the source text and remarking), but see the URL.
Translate keeps saying that the "Page display title" translation unit needs updating and adding FUZZY to it when you open it for translation because "Namespace changed from the definition", unless you change it to "Help:".
The error message is literally correct, but you should be able to set a different (fake) namespace if you want to; this works e.g. in https://meta.wikimedia.org/w/index.php?title=Translations:Grants:Index/Page_display_title/it&action=history hence why we think it's related to the page move.

Also reported at https://meta.wikimedia.org/w/index.php?diff=10789833&oldid=10789759&rcid=5790442


Version: unspecified
Severity: minor
URL: https://meta.wikimedia.org/w/index.php?title=Translations:Help:Promoting_users/Page_display_title/es&action=history

Details

Reference
bz39041

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:57 AM
bzimport set Reference to bz39041.
bzimport added a subscriber: Unknown Object (MLST).

Steps to reproduce:

(from comment #0)

page[,] move [it] to a different namespace

Hmm.. this does not only happen after page moves. reported at Wikimedia Forum today

Nemo_bis set Security to None.

By the way, this thing that I posted at Wikimedia Forum happens to me only on Meta-Wiki. On MediaWiki while editing the help namespace in / page display title / the problem didn't show. Don't know if this information would be useful. I just feel like I have to mention this.

UPD: This "changed namespace" message didn't show when I edited / page display title / here, though it showed up while I tried to translate Help: to Довідка: here

Actually, I'd rather see this check from line 299 of MediaWikiMessageChecker.php reworked to omit the Help namespace or at least give users the option to choose which namespaces to filter against with a global array of namespaces to check against.

$namespaces = 'help|project|\{\{ns:project}}|mediawiki';

Perhaps I am missing the point, but why would there be a restriction and then obsolete a title unit just because it has Help as the namespace missing in the title translation. It would make a little more sense (a little) if the namespace itself was a translatable unit.

Right now I am faced with the decision of having to hack this extension to remove that restriction or rename the Help namespace to something else.

reworked to omit the Help namespace

Seems sensible. In fact, it's possible that only "MediaWiki" has a compelling reason to be there (ns8 is definitely special, editprotected and can be used for all sorts of abuse).

Nikerabbit claimed this task.
Nikerabbit subscribed.

Translatable page message groups only contain plural and brace balance validators now.