Merge "Split some Language methods to LanguageNameUtils" into REL1_34
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 9 Oct 2019 09:46:53 +0000 (09:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 9 Oct 2019 09:46:53 +0000 (09:46 +0000)
1  2 
RELEASE-NOTES-1.34
includes/ServiceWiring.php

@@@ -605,11 -605,13 +605,16 @@@ because of Phabricator reports
    ApiQueryBlockInfoTrait instead.
  * PasswordReset is now a service, its direct instantiation is deprecated.
  * RESTBagOStuff users should specify either "JSON" or "PHP" serialization type.
 +* The global function wfIsHHVM() is deprecated and will now always return false
 +  regardless of the runtime environment. This is part of the continuing work to
 +  remove HHVM support from MediaWiki, which started in MediaWiki 1.31.
  * Language::getLocalisationCache() is deprecated. Use MediaWikiServices
    instead.
+ * The following Language methods are deprecated: isSupportedLanguage,
+   isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames,
+   fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName.
+   Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s)
+   are called getLanguageName(s) in the new class.)
  
  === Other changes in 1.34 ===
  * Added option to specify "Various authors" as author in extension credits using
Simple merge