r82564 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82563‎ | r82564 | r82565 >
Date:18:00, 21 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
RL support check tweak
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php
@@ -55,7 +55,7 @@
5656 global $wgVersion;
5757
5858 // Use the b/c method when the resource loader is not available.
59 - if ( !method_exists( 'OutputPage', 'addModules' ) ) {
 59+ if ( !defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) {
6060 return self::requireHeadItemOld( $id, $item );
6161 }
6262

Status & tagging log