Move message importtext into the fieldset
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 6 Aug 2012 16:03:19 +0000 (18:03 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 6 Aug 2012 16:03:19 +0000 (18:03 +0200)
Than it is the same place as message import-interwiki-text

Change-Id: I0eb800b05848cbea123f895180da02cc1b9af913

includes/specials/SpecialImport.php

index 2ea030e..873c9c6 100644 (file)
@@ -177,11 +177,11 @@ class SpecialImport extends SpecialPage {
                $out = $this->getOutput();
 
                if( $user->isAllowed( 'importupload' ) ) {
-                       $out->addWikiMsg( "importtext" );
                        $out->addHTML(
                                Xml::fieldset( $this->msg( 'import-upload' )->text() ).
                                Xml::openElement( 'form', array( 'enctype' => 'multipart/form-data', 'method' => 'post',
                                        'action' => $action, 'id' => 'mw-import-upload-form' ) ) .
+                               $this->msg( 'importtext' )->parseAsBlock() .
                                Html::hidden( 'action', 'submit' ) .
                                Html::hidden( 'source', 'upload' ) .
                                Xml::openElement( 'table', array( 'id' => 'mw-import-table' ) ) .