Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php |
— | — | @@ -99,7 +99,7 @@ |
100 | 100 | $text = wfMessage( 'onlinestatusbar-line', $user->getName() ) |
101 | 101 | ->rawParams( $image )->params( $modetext )->escaped(); |
102 | 102 | $context = $article->getContext(); |
103 | | - $context->getOutput()->updateCacheExpiry($wgOnlineStatusBarCacheTime[$status] * 60); |
| 103 | + $article->getParserOutput()->updateCacheExpiry($wgOnlineStatusBarCacheTime[$status] * 60); |
104 | 104 | $context->getOutput()->addHtml( OnlineStatusBar::getStatusBarHtml( $text ) ); |
105 | 105 | |
106 | 106 | return true; |