r47563 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47562‎ | r47563 | r47564 >
Date:16:13, 20 February 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Small cleanups
Modified paths:
  • /trunk/phase3/includes/specials/SpecialAllpages.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialBlankpage.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialEmailuser.php (modified) (history)
  • /trunk/phase3/includes/specials/SpecialExport.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialAllpages.php
@@ -27,7 +27,7 @@
2828 protected $nsfromMsg = 'allpagesfrom';
2929
3030 function __construct( $name = 'Allpages' ){
31 - parent::__construct( $name );
 31+ parent::__construct( $name );
3232 }
3333
3434 /**
Index: trunk/phase3/includes/specials/SpecialExport.php
@@ -130,7 +130,7 @@
131131 return;
132132 }
133133
134 - $wgOut->addHTML( wfMsgExt( 'exporttext', 'parse' ) );
 134+ $wgOut->addWikiMsg( 'exporttext' );
135135
136136 $form = Xml::openElement( 'form', array( 'method' => 'post',
137137 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) );
Index: trunk/phase3/includes/specials/SpecialBlankpage.php
@@ -2,5 +2,5 @@
33
44 function wfSpecialBlankpage() {
55 global $wgOut;
6 - $wgOut->addHTML(wfMsg('intentionallyblankpage'));
 6+ $wgOut->addWikiMsg('intentionallyblankpage');
77 }
Index: trunk/phase3/includes/specials/SpecialEmailuser.php
@@ -241,7 +241,7 @@
242242 $user = $this->target;
243243
244244 $wgOut->setPagetitle( wfMsg( "emailsent" ) );
245 - $wgOut->addHTML( wfMsg( "emailsenttext" ) );
 245+ $wgOut->addWikiMsg( 'emailsenttext' );
246246
247247 $wgOut->returnToMain( false, $user->getUserPage() );
248248 }

Status & tagging log