wiki.techinc.nl/languages/data
Aryeh Gregor 6d80b6c082 Split some Language methods to LanguageNameUtils
These are static methods that have to do with processing language names
and codes. I didn't include fallback behavior, because that would mean a
circular dependency with LocalisationCache.

In the new class, I renamed AS_AUTONYMS to AUTONYMS, and added a class
constant DEFINED for 'mw' to match the existing SUPPORTED and ALL. I
also renamed fetchLanguageName(s) to getLanguageName(s).

There is 100% test coverage for the code in the new class.

This was previously committed as 2e52f48c2e and reverted because it
depended on e4468a1d6b, which had to be reverted for performance
issues. There should be no changes other than rebasing.

Bug: T201405
Change-Id: Ifa346c8a92bf1eb57dc5e79458b32b7b26f1ee8a
2019-10-07 15:20:52 -07:00
..
grammarTransformations Add Russian grammar forms to support Wikiversity 2018-02-26 14:18:01 +02:00
CrhExceptions.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
Names.php Split some Language methods to LanguageNameUtils 2019-10-07 15:20:52 -07:00
normalize-ar.php language: Document sources of data and example usage 2018-07-19 20:06:28 -07:00
normalize-ml.php language: Document sources of data and example usage 2018-07-19 20:06:28 -07:00
plurals-mediawiki.xml
plurals.xml Replace HTTP by HTTPS 2018-05-22 12:14:14 +02:00
ZhConversion.php Chinese Conversion Table Update 2019-3 2019-09-16 22:30:52 +08:00