Xml::openElement( 'table', array( 'id' => 'mw-import-table' ) ) .
"<tr>
- <td>" .
- Xml::input( 'xmlimport', 50, '', array( 'type' => 'file' ) ) . ' ' .
+ <td class='mw-label'>" .
+ Xml::label( wfMsg( 'import-upload-filename' ), 'xmlimport' ) .
+ "</td>
+ <td class='mw-input'>" .
+ Xml::input( 'xmlimport', 50, '', array( 'type' => 'file' ) ) . ' ' .
"</td>
</tr>
<tr>
- <td>" .
- Xml::label( wfMsg('import-upload-comment'), 'log-comment' ) .
- Xml::input( 'log-comment', 50, '', array( 'id' => 'log-comment', 'type' => 'text' ) ) . ' ' .
+ <td class='mw-label'>" .
+ Xml::label( wfMsg( 'import-comment' ), 'log-comment' ) .
+ "</td>
+ <td class='mw-input'>" .
+ Xml::input( 'log-comment', 50, '', array( 'id' => 'log-comment', 'type' => 'text' ) ) . ' ' .
"</td>
</tr>
<tr>
- <td>" .
- Xml::submitButton( wfMsg( 'uploadbtn' ) ) .
+ <td></td>
+ <td class='mw-input'>" .
+ Xml::submitButton( wfMsg( 'uploadbtn' ) ) .
"</td>
</tr>" .
Xml::closeElement( 'table' ).
Xml::hidden( 'editToken', $wgUser->editToken() ) .
Xml::openElement( 'table', array( 'id' => 'mw-import-table' ) ) .
"<tr>
- <td>" .
+ <td class='mw-label'>" .
+ Xml::label( wfMsg( 'import-interwiki-source' ), 'interwiki' ) .
+ "</td>
+ <td class='mw-input'>" .
Xml::openElement( 'select', array( 'name' => 'interwiki' ) )
);
foreach( $wgImportSources as $prefix ) {
}
$wgOut->addHTML(
Xml::closeElement( 'select' ) .
- "</td>
- <td>" .
Xml::input( 'frompage', 50, $this->frompage ) .
"</td>
</tr>
<tr>
<td>
</td>
- <td>" .
+ <td class='mw-input'>" .
Xml::checkLabel( wfMsg( 'import-interwiki-history' ), 'interwikiHistory', 'interwikiHistory', $this->history ) .
"</td>
</tr>
<tr>
- <td>
- </td>
<td>" .
Xml::label( wfMsg( 'import-interwiki-namespace' ), 'namespace' ) .
+ "</td>
+ <td class='mw-input'>" .
Xml::namespaceSelector( $this->namespace, '' ) .
"</td>
</tr>
<tr>
- <td>" .
+ <td class='mw-label'>" .
Xml::label( wfMsg( 'import-comment' ), 'comment' ) .
"</td>
- <td>" .
+ <td class='mw-input'>" .
Xml::input( 'log-comment', 50, '', array( 'type' => 'text' ) ) . ' ' .
"</td>
</tr>
<tr>
<td>
</td>
- <td>" .
+ <td class='mw-input'>" .
Xml::submitButton( wfMsg( 'import-interwiki-submit' ), array( 'accesskey' => 's' ) ) .
"</td>
</tr>" .
if( $this->mIsUpload ) {
$detail = wfMsgExt( 'import-logentry-upload-detail', array( 'content', 'parsemag' ),
$contentCount );
- if ($this->reason) {
- $detail .= ' (' . $this->reason .')';
+ if ( $this->reason ) {
+ $detail .= wfMsgForContent( 'colon-separator' ) . $this->reason;
}
$log->addEntry( 'upload', $title, $detail );
} else {
$origTitle->getPrefixedText() . ']]';
$detail = wfMsgExt( 'import-logentry-interwiki-detail', array( 'content', 'parsemag' ),
$contentCount, $interwiki );
- if ($this->reason) {
- $detail .= ' (' . $this->reason .')';
+ if ( $this->reason ) {
+ $detail .= wfMsgForContent( 'colon-separator' ) . $this->reason;
}
$log->addEntry( 'interwiki', $title, $detail );
}
'import-interwiki-text' => "Select a wiki and page title to import.
Revision dates and editors' names will be preserved.
All transwiki import actions are logged at the [[Special:Log/import|import log]].",
+'import-interwiki-source' => 'Source wiki/page:',
'import-interwiki-history' => 'Copy all history versions for this page',
'import-interwiki-submit' => 'Import',
-'import-interwiki-namespace' => 'Transfer pages into namespace:',
-'import-upload-comment' => 'Comment:',
+'import-interwiki-namespace' => 'Destination namespace:',
+'import-upload-filename' => 'Filename:',
'import-comment' => 'Comment:',
'importtext' => 'Please export the file from the source wiki using the [[Special:Export|export utility]].
Save it to your computer and upload it here.',