Page MenuHomePhabricator

Moving a "MediaWiki:" namespace page creates a non-functional redirect
Closed, ResolvedPublic

Description

Normally, when displaying localisation messages, redirects in the "MediaWiki:" namespace are ignored – as if the message did not exist. (Barring some bugs like T376398.)

However, moving a page (or merging page histories) still creates a redirect page under the old title. These redirects work when visiting the page directly, and I think that's quite misleading, since (as noted above) they don't usually work when using the message, except for some special cases like MediaWiki:Common.js.

I think these redirects should not be created. In the future, maybe we'll have a custom content model or something for the "MediaWiki:" namespace that doesn't support redirects at all, but for now, I'd just like these pages not to be created.

Event Timeline

Change #1077755 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] MovePage, MergeHistory: Suppress redirect for "MediaWiki:"-ns wikitext pages

https://gerrit.wikimedia.org/r/1077755

Change #1077755 merged by jenkins-bot:

[mediawiki/core@master] MovePage, MergeHistory: Suppress redirect for "MediaWiki:"-ns wikitext pages

https://gerrit.wikimedia.org/r/1077755

matmarex claimed this task.