Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | global $wgVersion; |
57 | 57 | |
58 | 58 | // 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' ) ) { |
60 | 60 | return self::requireHeadItemOld( $id, $item ); |
61 | 61 | } |
62 | 62 | |