r82435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82434‎ | r82435 | r82436 >
Date:02:09, 19 February 2011
Author:ashley
Status:ok
Tags:
Comment:
get rid of unnecessary double quotes
Modified paths:
  • /trunk/phase3/includes/specials/SpecialNewpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialNewpages.php
@@ -222,42 +222,42 @@
223223 Html::hidden( 'title', $this->getTitle()->getPrefixedDBkey() ) .
224224 Xml::fieldset( wfMsg( 'newpages' ) ) .
225225 Xml::openElement( 'table', array( 'id' => 'mw-newpages-table' ) ) .
226 - "<tr>
227 - <td class='mw-label'>" .
 226+ '<tr>
 227+ <td class="mw-label">' .
228228 Xml::label( wfMsg( 'namespace' ), 'namespace' ) .
229 - "</td>
230 - <td class='mw-input'>" .
 229+ '</td>
 230+ <td class="mw-input">' .
231231 Xml::namespaceSelector( $namespace, 'all' ) .
232 - "</td>
233 - </tr>" . ( $tagFilter ? (
234 - "<tr>
235 - <td class='mw-label'>" .
 232+ '</td>
 233+ </tr>' . ( $tagFilter ? (
 234+ '<tr>
 235+ <td class="mw-label">' .
236236 $tagFilterLabel .
237 - "</td>
238 - <td class='mw-input'>" .
 237+ '</td>
 238+ <td class="mw-input">' .
239239 $tagFilterSelector .
240 - "</td>
241 - </tr>" ) : '' ) .
 240+ '</td>
 241+ </tr>' ) : '' ) .
242242 ( $wgEnableNewpagesUserFilter ?
243 - "<tr>
244 - <td class='mw-label'>" .
 243+ '<tr>
 244+ <td class="mw-label">' .
245245 Xml::label( wfMsg( 'newpages-username' ), 'mw-np-username' ) .
246 - "</td>
247 - <td class='mw-input'>" .
 246+ '</td>
 247+ <td class="mw-input">' .
248248 Xml::input( 'username', 30, $userText, array( 'id' => 'mw-np-username' ) ) .
249 - "</td>
250 - </tr>" : '' ) .
251 - "<tr> <td></td>
252 - <td class='mw-submit'>" .
 249+ '</td>
 250+ </tr>' : '' ) .
 251+ '<tr> <td></td>
 252+ <td class="mw-submit">' .
253253 Xml::submitButton( wfMsg( 'allpagessubmit' ) ) .
254 - "</td>
255 - </tr>" .
256 - "<tr>
 254+ '</td>
 255+ </tr>' .
 256+ '<tr>
257257 <td></td>
258 - <td class='mw-input'>" .
 258+ <td class="mw-input">' .
259259 $this->filterLinks() .
260 - "</td>
261 - </tr>" .
 260+ '</td>
 261+ </tr>' .
262262 Xml::closeElement( 'table' ) .
263263 Xml::closeElement( 'fieldset' ) .
264264 $hidden .

Status & tagging log