Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | */ |
119 | 119 | static public function requireFromParserOutput( ParserOutput $parserOutput ) { |
120 | 120 | // Note: we do not attempt to recover which head items where scripts here. |
121 | | - self::$headItems = array_merge( (array)self::$headItems, (array)$parserOutput->headItems ); |
| 121 | + self::$headItems = array_merge( (array)self::$headItems, $parserOutput->getHeadItems() ); |
122 | 122 | if ( isset( $parserOutput->mModules ) ) { |
123 | 123 | self::$headItems = array_merge( (array)self::$resourceModules, (array)$parserOutput->mModules ); |
124 | 124 | } |