Index: trunk/extensions/IncludeWP/IncludeWP.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | 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 />' ); |
41 | 41 | } |
42 | 42 | |
43 | | -define( 'IncludeWP_VERSION', '0.1' ); |
| 43 | +define( 'IncludeWP_VERSION', '0.2 alpha' ); |
44 | 44 | |
45 | 45 | $wgExtensionCredits['other'][] = array( |
46 | 46 | 'path' => __FILE__, |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | ); |
74 | 74 | |
75 | 75 | // For backward compatibility with MW < 1.17. |
76 | | -if ( is_callable( array( 'OutputPage', 'addModules' ) ) ) { |
| 76 | +if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
77 | 77 | $moduleTemplate = array( |
78 | 78 | 'localBasePath' => dirname( __FILE__ ), |
79 | 79 | 'remoteBasePath' => $egIncWPScriptPath |