* (bug 20296) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3: Parameter...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 21 Aug 2009 20:18:20 +0000 (20:18 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 21 Aug 2009 20:18:20 +0000 (20:18 +0000)
RELEASE-NOTES
languages/Language.php

index 312442f..5bfdd88 100644 (file)
@@ -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 ==
 
index 5fa9ed3..0836cf6 100644 (file)
@@ -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() ) );