From: Niklas Laxström Date: Fri, 20 Feb 2009 16:13:40 +0000 (+0000) Subject: * Small cleanups X-Git-Tag: 1.31.0-rc.0~42765 X-Git-Url: http://git.cyclocoop.org/%22%40url%40/%24self?a=commitdiff_plain;h=4ce54af762235e3509d9e733d101c328e75f94e0;p=lhc%2Fweb%2Fwiklou.git * Small cleanups --- diff --git a/includes/specials/SpecialAllpages.php b/includes/specials/SpecialAllpages.php index 15c559100d..bded883574 100644 --- a/includes/specials/SpecialAllpages.php +++ b/includes/specials/SpecialAllpages.php @@ -27,7 +27,7 @@ class SpecialAllpages extends IncludableSpecialPage { protected $nsfromMsg = 'allpagesfrom'; function __construct( $name = 'Allpages' ){ - parent::__construct( $name ); + parent::__construct( $name ); } /** diff --git a/includes/specials/SpecialBlankpage.php b/includes/specials/SpecialBlankpage.php index fdabe49d53..29d6b96c7a 100644 --- a/includes/specials/SpecialBlankpage.php +++ b/includes/specials/SpecialBlankpage.php @@ -2,5 +2,5 @@ function wfSpecialBlankpage() { global $wgOut; - $wgOut->addHTML(wfMsg('intentionallyblankpage')); + $wgOut->addWikiMsg('intentionallyblankpage'); } diff --git a/includes/specials/SpecialEmailuser.php b/includes/specials/SpecialEmailuser.php index cf90f94d8f..58e2514e08 100644 --- a/includes/specials/SpecialEmailuser.php +++ b/includes/specials/SpecialEmailuser.php @@ -241,7 +241,7 @@ class EmailUserForm { $user = $this->target; $wgOut->setPagetitle( wfMsg( "emailsent" ) ); - $wgOut->addHTML( wfMsg( "emailsenttext" ) ); + $wgOut->addWikiMsg( 'emailsenttext' ); $wgOut->returnToMain( false, $user->getUserPage() ); } diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 4f0d186a7c..eebd93c03f 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -130,7 +130,7 @@ class SpecialExport extends SpecialPage { return; } - $wgOut->addHTML( wfMsgExt( 'exporttext', 'parse' ) ); + $wgOut->addWikiMsg( 'exporttext' ); $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalUrl( 'action=submit' ) ) );