r82561 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82560‎ | r82561 | r82562 >
Date:17:58, 21 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
RL support check tweak
Modified paths:
  • /trunk/extensions/IncludeWP/IncludeWP.php (modified) (history)

Diff [purge]

Index: trunk/extensions/IncludeWP/IncludeWP.php
@@ -39,7 +39,7 @@
4040 die( '<b>Error:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:SubPageList">SubPageList</a>.<br />' );
4141 }
4242
43 -define( 'IncludeWP_VERSION', '0.1' );
 43+define( 'IncludeWP_VERSION', '0.2 alpha' );
4444
4545 $wgExtensionCredits['other'][] = array(
4646 'path' => __FILE__,
@@ -72,7 +72,7 @@
7373 );
7474
7575 // For backward compatibility with MW < 1.17.
76 -if ( is_callable( array( 'OutputPage', 'addModules' ) ) ) {
 76+if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) {
7777 $moduleTemplate = array(
7878 'localBasePath' => dirname( __FILE__ ),
7979 'remoteBasePath' => $egIncWPScriptPath

Status & tagging log