New language variant 'en-x-piglatin' for easier variant testing
authorLiangent <liangent@gmail.com>
Sat, 27 Jul 2013 23:01:54 +0000 (01:01 +0200)
committerC. Scott Ananian <cscott@cscott.net>
Mon, 12 Jun 2017 20:59:57 +0000 (16:59 -0400)
commitd8375bee241b4d134aff901c7d072aa1374c860b
treef2bf0c8c8394926cd1426680a6994eb6d0020eb3
parenta2254d32bf816c28f2a3fb4088b5e4356cff4c48
New language variant 'en-x-piglatin' for easier variant testing

Guarded by the $wgUsePigLatinVariant variable, off by default.

Pig Latin is a language game where words in English are altered
according to the following rules:

* Words starting with a vowel have a '-way' suffix appended.
* Words starting with a consonant have the initial consonants (or 'qu'
  group) moved to the end and an '-ay' suffix appended.

https://en.wikipedia.org/wiki/Pig_Latin

* Added 'en-x-piglatin' as a language name.
* Added 'en' to LanguageConverter::$languagesWithVariants.
* Added LanguageEn class and its corresponding EnConverter which
  provides one-way translation from English to Pig Latin.
* Some minor internal changes in code that assumed that English
  doesn't have a language class or converter.

Bug: T45547
Depends-On: I1d9691c784032669979f8109c9a5f65cbf4122c9
Change-Id: I7fa2d85d6364958c5138366e8b4504a2697a8731
RELEASE-NOTES-1.30
autoload.php
includes/DefaultSettings.php
languages/Language.php
languages/LanguageConverter.php
languages/classes/LanguageEn.php [new file with mode: 0644]
languages/data/Names.php
tests/phpunit/includes/auth/AuthManagerTest.php
tests/phpunit/languages/LanguageTest.php