Merge "skins: Deprecate QuickTemplate::setTranslator and MediaWikiI18N::set"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 2 Feb 2018 23:32:27 +0000 (23:32 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 2 Feb 2018 23:32:27 +0000 (23:32 +0000)
1  2 
RELEASE-NOTES-1.31

diff --combined RELEASE-NOTES-1.31
@@@ -194,19 -194,13 +194,21 @@@ changes to languages because of Phabric
    Setting template variables by reference allowed violating the principle of data being
    immutable once added to the skin template. In practice, this method was not being
    used for that. Rather, setRef() existed as memory optimisation for PHP 4.
+ * QuickTemplate::setTranslator() was deprecated in favour of Skin::msg() parameters.
+ * MediaWikiI18N::set() was deprecated in favour of Skin::msg() parameters.
  * Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the
    'unwrap' transform to ParserOutput::getText() instead.
  * ParserOutput objects generated using a non-default value for
    ParserOptions::setWrapOutputClass() can no longer be added to the parser
    cache.
 +* The following deprecated methods from the OutputPage class have been removed:
 +  * OutputPage::addExtensionStyle(); deprecated in 1.27
 +  * OutputPage::getExtStyle(); deprecated in 1.27
 +  * OutputPage::setETag(); deprecated in 1.28 (obsolete no-op)
 +  * OutputPage::setSquidMaxage(); deprecated in 1.27
 +  * OutputPage::readOnlyPage(); deprecated in 1.25
 +  * OutputPage::rateLimited(); deprecated in 1.25
 +* The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed.
  
  == Compatibility ==
  MediaWiki 1.31 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported,