Index: branches/wmf/1.17wmf1/extensions/LiquidThreads/classes/View.php |
— | — | @@ -1208,11 +1208,9 @@ |
1209 | 1209 | $wgOut->addScriptFile( "$wgLiquidThreadsExtensionPath/js/lqt.toolbar.js" ); |
1210 | 1210 | $wgOut->addExtensionStyle( "$wgLiquidThreadsExtensionPath/lqt.css?{$wgStyleVersion}" ); |
1211 | 1211 | |
1212 | | - if ( class_exists( 'WikiEditorHooks' ) ) { |
1213 | | - $temp = null; |
1214 | | - WikiEditorHooks::addModules( $temp ); |
1215 | | - } |
1216 | | - |
| 1212 | + # Hack to make old LQT work with new WikiEditor, hopefully --catrope |
| 1213 | + $wgOut->addModules( array( 'ext.wikiEditor', 'ext.wikiEditor.toolbar.i18n', 'jquery.wikiEditor.toolbar', 'jquery.async', 'jquery.cookie', 'jquery.ui.dialog' ) ); |
| 1214 | + |
1217 | 1215 | self::$stylesAndScriptsDone = true; |
1218 | 1216 | } |
1219 | 1217 | |