r42055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42054‎ | r42055 | r42056 >
Date:20:32, 13 October 2008
Author:demon
Status:old
Tags:
Comment:
Use addWikiMsg instead of adding wikitext after loading the msg with wfMsg()
Modified paths:
  • /trunk/extensions/WhoIsWatching/SpecialWhoIsWatching_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WhoIsWatching/SpecialWhoIsWatching_body.php
@@ -37,7 +37,7 @@
3838
3939 $title = $wgRequest->getVal('page');
4040 if (!isset($title)) {
41 - $wgOut->addWikiText(wfMsg('specialwhoiswatchingusage'));
 41+ $wgOut->addWikiMsg( 'specialwhoiswatchingusage' );
4242 return;
4343 }
4444

Status & tagging log