From e82e043c2d4081b83d8262f79358887570ae3512 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Mon, 6 Aug 2012 18:03:19 +0200 Subject: [PATCH] Move message importtext into the fieldset Than it is the same place as message import-interwiki-text Change-Id: I0eb800b05848cbea123f895180da02cc1b9af913 --- includes/specials/SpecialImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 2ea030eda5..873c9c6d8f 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -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' ) ) . -- 2.20.1