Integrate Special:MyLanguage from the Translate extension
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 19 Jun 2014 18:36:56 +0000 (11:36 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Tue, 22 Jul 2014 18:33:15 +0000 (11:33 -0700)
commit062cfffeb2d132ead4d7d786c96dce5e7a0bc557
treed7ee7cdfd9d9a588207f1e5875990dc092aa8efa
parenta83900b360d9bf08ae90a616bbfdcfdb35f61ef5
Integrate Special:MyLanguage from the Translate extension

In practice, this means the MediaWiki canonical way to uniquely and
humanly name translation pages on a multilingual wiki becomes
$source_page_title + '/' + $target_language_code, irrespective of
the enabling of the navigational subtitle and of the relative
titles (..) syntax for linking and transcluding, which are unrelated
and keep being controlled by $wgNamespacesWithSubpages.

This syntax has been prevalent on most wikis including mediawiki.org
since at least 2009, also thanks to #titleparts in ParserFunctions.

The part of the special page's functionality that made links to it red
when destination page wasn't present will be integrated with a follow-up
commit because they require more performance work.

I'm also including some Title tests that were written for testing the
redlinking functionality but are useful in general.

Bug: 66762
Change-Id: I520077c931431b5919e0208f75c20b5b25f3159d
RELEASE-NOTES-1.24
includes/AutoLoader.php
includes/specialpage/SpecialPageFactory.php
includes/specials/SpecialMyLanguage.php [new file with mode: 0644]
languages/messages/MessagesEn.php
tests/phpunit/includes/TitleTest.php
tests/phpunit/includes/specials/SpecialMyLanguageTest.php [new file with mode: 0644]