Follow-up I9c7aa3b2 (b28c7a8): fix one more validation error
"size" attribute of <input> is not allowed when type is "file". Change-Id: Id8291d2c2e2ddc3e0c462c0eaa3817634d088c6b
This commit is contained in:
parent
b28c7a8adc
commit
30df62d335
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ class SpecialImport extends SpecialPage {
|
|||
|
||||
$this->logcomment = $request->getText( 'log-comment' );
|
||||
$this->pageLinkDepth = $wgExportMaxLinkDepth == 0 ? 0 : $request->getIntOrNull( 'pagelink-depth' );
|
||||
$this->rootpage = $request->getText( 'rootpage' );
|
||||
$this->rootpage = $request->getText( 'rootpage' );
|
||||
|
||||
$user = $this->getUser();
|
||||
if ( !$user->matchEditToken( $request->getVal( 'editToken' ) ) ) {
|
||||
|
|
@ -201,7 +201,7 @@ class SpecialImport extends SpecialPage {
|
|||
Xml::label( $this->msg( 'import-upload-filename' )->text(), 'xmlimport' ) .
|
||||
"</td>
|
||||
<td class='mw-input'>" .
|
||||
Xml::input( 'xmlimport', 50, '', array( 'id' => 'xmlimport', 'type' => 'file' ) ) . ' ' .
|
||||
Html::input( 'xmlimport', '', 'file', array( 'id' => 'xmlimport' ) ) . ' ' .
|
||||
"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue