r89327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89326‎ | r89327 | r89328 >
Date:11:54, 2 June 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
This hook parameters have changed, cannot require them
Modified paths:
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -570,7 +570,7 @@
571571 return true;
572572 }
573573
574 - public static function replaceSubtitle( &$subpages, $skin, $out ) {
 574+ public static function replaceSubtitle( &$subpages, $skin = null , $out = null ) {
575575 global $wgOut, $wgUser;
576576 if ( $out === null ) $out = $wgOut;
577577 if ( $skin === null ) $skin = $wgUser->getSkin();

Status & tagging log