r70413 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70412‎ | r70413 | r70414 >
Date:20:43, 3 August 2010
Author:mah
Status:deferred
Tags:
Comment:
re r70100, Reflect usage in core and discard hook return value.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -1898,10 +1898,9 @@
18991899 $replyTo = $this->methodAppliesToThread( 'reply', $thread );
19001900
19011901 $html = '';
1902 - if ( wfRunHooks( 'EditPageBeforeEditToolbar', array( &$html ) ) ) {
1903 - $scripts = isset( $options['addScripts'] ) ? $options['addScripts'] : array();
1904 - self::addJSandCSS( $scripts );
1905 - }
 1902+ wfRunHooks( 'EditPageBeforeEditToolbar', array( &$html ) );
 1903+ $scripts = isset( $options['addScripts'] ) ? $options['addScripts'] : array();
 1904+ self::addJSandCSS( $scripts );
19061905
19071906 $class = $this->threadDivClass( $thread );
19081907 if ( $levelNum == 1 ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70100re-apply r70076, WITH A FIX!mah17:59, 28 July 2010

Status & tagging log