r113143 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113142‎ | r113143 | r113144 >
Date:15:54, 6 March 2012
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
get rid of deperacted method usage
Modified paths:
  • /trunk/phase3/includes/specials/SpecialPrefixindex.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialPrefixindex.php
@@ -107,7 +107,15 @@
108108 Xml::label( wfMsg( 'namespace' ), 'namespace' ) .
109109 "</td>
110110 <td class='mw-input'>" .
111 - Xml::namespaceSelector( $namespace, null ) . ' ' .
 111+ Html::namespaceSelector( array(
 112+ 'selected' => $namespace,
 113+ 'all' => null,
 114+ 'label' => null,
 115+ ), array(
 116+ 'name' => 'namespace',
 117+ 'id' => 'namespace',
 118+ 'class' => 'namespaceselector',
 119+ ) ) .
112120 Xml::submitButton( wfMsg( 'allpagessubmit' ) ) .
113121 "</td>
114122 </tr>";

Comments

#Comment by Aaron Schulz (talk | contribs)   23:11, 8 March 2012

This sure requires a lot more code.

Status & tagging log