* Small cleanups
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 20 Feb 2009 16:13:40 +0000 (16:13 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 20 Feb 2009 16:13:40 +0000 (16:13 +0000)
includes/specials/SpecialAllpages.php
includes/specials/SpecialBlankpage.php
includes/specials/SpecialEmailuser.php
includes/specials/SpecialExport.php

index 15c5591..bded883 100644 (file)
@@ -27,7 +27,7 @@ class SpecialAllpages extends IncludableSpecialPage {
        protected $nsfromMsg = 'allpagesfrom';
 
        function __construct( $name = 'Allpages' ){
-               parent::__construct( $name );   
+               parent::__construct( $name );
        }
 
        /**
index fdabe49..29d6b96 100644 (file)
@@ -2,5 +2,5 @@
 
 function wfSpecialBlankpage() {
        global $wgOut;
-       $wgOut->addHTML(wfMsg('intentionallyblankpage'));
+       $wgOut->addWikiMsg('intentionallyblankpage');
 }
index cf90f94..58e2514 100644 (file)
@@ -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() );
        }
index 4f0d186..eebd93c 100644 (file)
@@ -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' ) ) );