r69765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69764‎ | r69765 | r69766 >
Date:22:50, 22 July 2010
Author:mah
Status:ok
Tags:
Comment:
revert r69764
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -1212,6 +1212,11 @@
12131213 $wgOut->addScriptFile( "$wgLiquidThreadsExtensionPath/js/lqt.toolbar.js" );
12141214 $wgOut->addExtensionStyle( "$wgLiquidThreadsExtensionPath/lqt.css?{$wgStyleVersion}" );
12151215
 1216+ if ( class_exists( 'WikiEditorHooks' ) ) {
 1217+ $temp = null;
 1218+ WikiEditorHooks::addModules( $temp );
 1219+ }
 1220+
12161221 self::$stylesAndScriptsDone = true;
12171222 }
12181223
@@ -1958,10 +1963,6 @@
19591964 )
19601965 );
19611966
1962 - if ( wfRunHooks( 'LiquidThreadsShowThread', array( $thread, $levelNum, $totalInLevel, $options ) ) ) {
1963 - self::addJSandCSS();
1964 - }
1965 -
19661967 // Flush output to display thread
19671968 $this->output->addHTML( $html );
19681969 $this->output->addHTML( Xml::openElement( 'div',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69764* Consolidate instances of LqtView::addJSandCSS() and eliminate one (apparent...mah22:45, 22 July 2010

Status & tagging log