r71626 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71625‎ | r71626 | r71627 >
Date:14:36, 25 August 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
PHP Deprecated: Call-time pass-by-reference has been deprecated
Modified paths:
  • /trunk/extensions/LiquidThreads/LiquidThreads.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/LiquidThreads.php
@@ -24,7 +24,7 @@
2525 if ( version_compare( $wgVersion, '1.17alpha', '>=' ) ) {
2626 $wgHooks['CanonicalNamespaces'][] = 'wgLqtSetupCanonicalNamespaces';
2727 } else {
28 - wgLqtSetupCanonicalNamespaces( &$wgExtraNamespaces );
 28+ wgLqtSetupCanonicalNamespaces( $wgExtraNamespaces );
2929 }
3030
3131 function wgLqtSetupCanonicalNamespaces( &$list ) {
Index: trunk/extensions/Translate/Translate.php
@@ -483,7 +483,7 @@
484484 }
485485
486486 if ( version_compare( $wgVersion, '1.17alpha', '<' ) ) {
487 - efTranslateNamespaces( &$wgExtraNamespaces );
 487+ efTranslateNamespaces( $wgExtraNamespaces );
488488 }
489489
490490 $wgNamespacesWithSubpages[NS_TRANSLATIONS] = true;

Status & tagging log