r95874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95873‎ | r95874 | r95875 >
Date:15:09, 31 August 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix for bug 30660, followup to r95172
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php
@@ -118,9 +118,9 @@
119119 static public function requireFromParserOutput( ParserOutput $parserOutput ) {
120120 // Note: we do not attempt to recover which head items where scripts here.
121121 self::$headItems = array_merge( (array)self::$headItems, $parserOutput->getHeadItems() );
122 - if ( isset( $parserOutput->mModules ) ) {
123 - self::$headItems = array_merge( (array)self::$resourceModules, (array)$parserOutput->mModules );
124 - }
 122+// if ( isset( $parserOutput->mModules ) ) {
 123+// self::$headItems = array_merge( (array)self::$resourceModules, (array)$parserOutput->mModules );
 124+// }
125125 }
126126
127127 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95172also support OutputPage/ParserOutput-agnostic script loading a la addScript()...mkroetzsch19:08, 21 August 2011