From: Alexandre Emsenhuber Date: Fri, 21 Aug 2009 20:18:20 +0000 (+0000) Subject: * (bug 20296) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3: Parameter... X-Git-Tag: 1.31.0-rc.0~40161 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=6c3adddb6b789fb40a1fde1ea8198128785b36a9;p=lhc%2Fweb%2Fwiklou.git * (bug 20296) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3: Parameter 1 was expected to be a reference but value given when unstubbing $wgContLang --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 312442f28c..5bfdd88270 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -418,6 +418,7 @@ this. Was used when mwEmbed was going to be an extension. * (bug 15248) Non-breaking spaces and certain other Unicode space characters are now normalized to ordinary spaces in titles; if your wiki has existing titles with such characters, run cleanupTitles.php and/or cleanupImages.php +* (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3 == API changes in 1.16 == diff --git a/languages/Language.php b/languages/Language.php index 5fa9ed3dcb..0836cf60d8 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1900,7 +1900,7 @@ class Language { } # Fill a MagicWord object with data from here - function getMagic( &$mw ) { + function getMagic( $mw ) { if ( !$this->mMagicHookDone ) { $this->mMagicHookDone = true; wfRunHooks( 'LanguageGetMagic', array( &$this->mMagicExtensions, $this->getCode() ) );