r65894 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65893‎ | r65894 | r65895 >
Date:05:18, 4 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Fix syntax errors
Modified paths:
  • /trunk/extensions/Translate/SpecialImportTranslations.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialImportTranslations.php
@@ -121,7 +121,7 @@
122122 Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) .
123123 Xml::openElement( 'table' ) .
124124 Xml::openElement( 'tr' ) .
125 - Xml::openElement( 'td' );
 125+ Xml::openElement( 'td' )
126126 );
127127
128128 $class = array( 'class' => 'mw-translate-import-inputs' );
@@ -134,7 +134,7 @@
135135 Xml::input( 'upload-url', 50,
136136 $this->request->getText( 'upload-url' ),
137137 array( 'id' => 'mw-translate-up-url-input' ) + $class ) .
138 - "\n" . . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
 138+ "\n" . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
139139 Xml::openElement( 'tr' ) . Xml::openElement( 'td' ) . "\n"
140140 );
141141 }
@@ -147,7 +147,7 @@
148148 Xml::input( 'upload-wiki', 50,
149149 $this->request->getText( 'upload-wiki', 'File:' ),
150150 array( 'id' => 'mw-translate-up-wiki-input' ) + $class ) .
151 - "\n" . . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
 151+ "\n" . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
152152 Xml::openElement( 'tr' ) . Xml::openElement( 'td' ) . "\n" .
153153 Xml::radioLabel( wfMsg( 'translate-import-from-local' ),
154154 'upload-type', 'local', 'mw-translate-up-local',
@@ -156,7 +156,7 @@
157157 Xml::input( 'upload-local', 50,
158158 $this->request->getText( 'upload-local' ),
159159 array( 'type' => 'file', 'id' => 'mw-translate-up-local-input' ) + $class ) .
160 - "\n" . . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
 160+ "\n" . Xml::closeElement( 'td' ) . Xml::closeElement( 'tr' ) .
161161 Xml::closeElement( 'table' ) .
162162 Xml::submitButton( wfMsg( 'translate-import-load' ) ) .
163163 Xml::closeElement( 'form' )

Status & tagging log