Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Outputs.php |
— | — | @@ -183,7 +183,7 @@ |
184 | 184 | */ |
185 | 185 | static public function commitToOutputPage( OutputPage $output ) { |
186 | 186 | foreach ( self::$scripts as $key => $script ) { |
187 | | - $parserOutput->addScript( $script ); |
| 187 | + $output->addScript( $script ); |
188 | 188 | } |
189 | 189 | foreach ( self::$headItems as $key => $item ) { |
190 | 190 | $output->addHeadItem( $key, "\t\t" . $item . "\n" ); |