From 4ce54af762235e3509d9e733d101c328e75f94e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 20 Feb 2009 16:13:40 +0000 Subject: [PATCH] * Small cleanups --- includes/specials/SpecialAllpages.php | 2 +- includes/specials/SpecialBlankpage.php | 2 +- includes/specials/SpecialEmailuser.php | 2 +- includes/specials/SpecialExport.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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' ) ) ); -- 2.20.1