Page MenuHomePhabricator

Move "Special:MyLanguage" from Extension:Translate to MediaWiki core
Closed, ResolvedPublicFeature

Description

Splitting this out from T46871.

The request here to move "Special:MyLanguage" from [[mw:Extension:Translate]] into MediaWiki core.

I don't think this is particularly difficult or controversial, so I'm marking this bug with the "easy" keyword.


See Also:

Details

Reference
bz66762

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:21 AM
bzimport set Reference to bz66762.

I am okay with moving this to core, it is quite useful itself even without Translate extension. Translate will need a little bit BC code because it has to be compatible with MediaWiki 1.20 (or at least 1.21).

I expect that the increased visibility will also increase Bugzilla activity for new and existing issues related to this feature. See for example bug 45096, bug 49605 and bug 48292 for existing wishes.

There is one major known shortcoming with this feature related to the way it is implemented currently, that is bug 61547.

The WhatLinksHere issue (bug 61547) doesn't seem like a blocker to me.

Regarding the backwards compatibility, I agree we should add some BC code to Translate. Maybe we could just have it register its own Special Page if one isn't registered in core.

Change 140765 had a related patch set uploaded by Nemo bis:
Integrate Special:MyLanguage from E:Translate

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

Since it isn't mentioned anywhere else... The immediate impetus for this bug is so that we can set the 'Mobile-frontend-terms-url' message to '//m.wikimediafoundation.org/wiki/Special:MyLanguage/Terms_of_Use' via the WikimediaMessages extension, so that people clicking the 'Terms of Use' and 'Privacy Policy' links at the bottom of the page will get sent to the pages in their own language as they become available. Right now, the messages have to be overridden one language at a time and are rarely updated for new translations.

The two other options are:

  1. Turn on the Translate extension on foundationwiki (which has been argued against at bug 44871)
  2. Spin Special:MyLanguage into a completely separate extension (which would be overkill IMO)

Change 140765 merged by jenkins-bot:
Integrate Special:MyLanguage from the Translate extension

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