Merge "Fix docs for MWNamespace::clearCaches() removal"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 11 Apr 2019 23:01:28 +0000 (23:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 11 Apr 2019 23:01:28 +0000 (23:01 +0000)
1  2 
RELEASE-NOTES-1.34

diff --combined RELEASE-NOTES-1.34
@@@ -45,7 -45,6 +45,7 @@@ For notes on 1.33.x and older releases
  * …
  
  ==== Changed external libraries ====
 +* Updated Mustache from 1.0.0 to v3.0.1.
  * …
  
  ==== Removed external libraries ====
@@@ -76,9 -75,17 +76,17 @@@ because of Phabricator reports
    * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
  * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
    create a new Language object with a different language code.
+ * MWNamespace::clearCaches() has been removed.  So has the $rebuild parameter
+   to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
+   Instead, reset services, such as by calling $this->overrideMwServices() (if
+   your test extends MediaWikiTestCase). Services will generally not pick up
+   configuration changes from after they were created, so you must reset
+   services after any configuration change. Even if your code works now, it is
+   likely to break in future versions as more code is moved to services.
  * …
  
  === Deprecations in 1.34 ===
+ * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
  * …
  
  === Other changes in 1.34 ===