r104675 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104674‎ | r104675 | r104676 >
Date:13:37, 30 November 2011
Author:petrb
Status:deferred
Tags:
Comment:
r104673 replaced with correct function, fix
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php
@@ -99,7 +99,7 @@
100100 $text = wfMessage( 'onlinestatusbar-line', $user->getName() )
101101 ->rawParams( $image )->params( $modetext )->escaped();
102102 $context = $article->getContext();
103 - $context->getOutput()->updateCacheExpiry($wgOnlineStatusBarCacheTime[$status] * 60);
 103+ $article->getParserOutput()->updateCacheExpiry($wgOnlineStatusBarCacheTime[$status] * 60);
104104 $context->getOutput()->addHtml( OnlineStatusBar::getStatusBarHtml( $text ) );
105105
106106 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104673r104672 forgot globalpetrb13:25, 30 November 2011

Status & tagging log