r91850 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91849‎ | r91850 | r91851 >
Date:23:22, 10 July 2011
Author:yaron
Status:deferred
Tags:
Comment:
New version: 0.8.3
Modified paths:
  • /trunk/extensions/HeaderTabs/HeaderTabs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/HeaderTabs/HeaderTabs.php
@@ -15,8 +15,8 @@
1616 // the file loaded depends on whether the ResourceLoader exists, which in
1717 // turn depends on what version of MediaWiki this is - for MW 1.17+,
1818 // HeaderTabs_body.jq.php will get loaded
19 -$realFunction = array( 'OutputPage', 'addModules' );
20 -if ( is_callable( $realFunction ) ) {
 19+$rlMethod = array( 'OutputPage', 'addModules' );
 20+if ( is_callable( $rlMethod ) ) {
2121 $wgAutoloadClasses['HeaderTabs'] = "$dir/HeaderTabs_body.jq.php";
2222 } else {
2323 $wgAutoloadClasses['HeaderTabs'] = "$dir/HeaderTabs_body.yui.php";
@@ -25,7 +25,7 @@
2626 $wgExtensionCredits['parserhook'][] = array(
2727 'name' => 'Header Tabs',
2828 'description' => 'Adds tabs to the page separating top-level sections.',
29 - 'version' => '0.8.2',
 29+ 'version' => '0.8.3',
3030 'author' => array( '[http://www.sergeychernyshev.com Sergey Chernyshev]', 'Yaron Koren' ),
3131 'url' => 'http://www.mediawiki.org/wiki/Extension:Header_Tabs'
3232 );

Status & tagging log