Page MenuHomePhabricator

Conflict of Special:MyLanguage: Extension and MW core use the same special page name
Closed, ResolvedPublic

Description

Special:MyLanguage is now also defined in core. This results in a clash at e.g. Special:AdvancedTranslate (and most likely also when a user tries to visit Special:MyLanguage).

Spotted at https://translatewiki.net/wiki/Thread:Support/Translation_for_special_page_names


Version: unspecified
Severity: major
URL: https://translatewiki.net/w/i.php?language=en&module=special&title=Special%3AAdvancedTranslate#mw-sp-magic-MyLanguage
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=66762

Details

Reference
bz69461

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:42 AM
bzimport set Reference to bz69461.

Note that this completely blocks all further l10n of names for Special pages until resolved.

I think there is a working but ugly workaround:

  1. Copy all current translations of MyLanguage to core
  2. Move all current translations of MyLanguage to separate alias file in Translate to preserve backwards compatibility

Since the separate alias file is not up for translation (and should not be added), there is no longer conflict in Special:AdvancedTranslate. Users running old version of MediaWiki would not be getting new translations for MyLanguage until they upgrade, but the impact of that is in my opinion negligible.

Any updates on this bug? Translation of special pages are still effectively locked down.

Included in current language engineering team sprint.

gerritadmin wrote:

Change 161241 had a related patch set uploaded by Amire80:
WIP Move Special:MyLanguage aliases to a separate file

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

  • Bug 71034 has been marked as a duplicate of this bug. ***

gerritadmin wrote:

Change 161241 had a related patch set uploaded by Nikerabbit:
Move Special:MyLanguage aliases to a separate file

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

gerritadmin wrote:

Change 161377 had a related patch set uploaded by Nikerabbit:
Copy translations of Special:MyLanguage alias from Translate

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

gerritadmin wrote:

Change 161773 had a related patch set uploaded by Nikerabbit:
Copy translations of Special:MyLanguage alias from Translate

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

gerritadmin wrote:

Change 161377 merged by jenkins-bot:
Copy translations of Special:MyLanguage alias from Translate

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

gerritadmin wrote:

Change 161773 merged by jenkins-bot:
Copy translations of Special:MyLanguage alias from Translate

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

gerritadmin wrote:

Change 161241 merged by jenkins-bot:
Move Special:MyLanguage aliases to a separate file

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

Patches deployed.

https://translatewiki.net/wiki/Special:AdvancedTranslate works now.

Thanks to Niklas for assistance and patient review.

Thanks to everyone who made this work again