r55429 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55428‎ | r55429 | r55430 >
Date:20:18, 21 August 2009
Author:ialex
Status:ok
Tags:
Comment:
* (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
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1900,7 +1900,7 @@
19011901 }
19021902
19031903 # Fill a MagicWord object with data from here
1904 - function getMagic( &$mw ) {
 1904+ function getMagic( $mw ) {
19051905 if ( !$this->mMagicHookDone ) {
19061906 $this->mMagicHookDone = true;
19071907 wfRunHooks( 'LanguageGetMagic', array( &$this->mMagicExtensions, $this->getCode() ) );
Index: trunk/phase3/RELEASE-NOTES
@@ -418,6 +418,7 @@
419419 * (bug 15248) Non-breaking spaces and certain other Unicode space characters
420420 are now normalized to ordinary spaces in titles; if your wiki has existing
421421 titles with such characters, run cleanupTitles.php and/or cleanupImages.php
 422+* (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
422423
423424 == API changes in 1.16 ==
424425

Status & tagging log