From: Jeroen De Dauw Date: Tue, 6 Mar 2012 15:54:23 +0000 (+0000) Subject: get rid of deperacted method usage X-Git-Tag: 1.31.0-rc.0~24364 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=018294d1ecfaaafc24aeaa283739936565b17efe;p=lhc%2Fweb%2Fwiklou.git get rid of deperacted method usage --- diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index 40a38e84e9..5779cadd43 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -107,7 +107,15 @@ class SpecialPrefixindex extends SpecialAllpages { Xml::label( wfMsg( 'namespace' ), 'namespace' ) . " " . - Xml::namespaceSelector( $namespace, null ) . ' ' . + Html::namespaceSelector( array( + 'selected' => $namespace, + 'all' => null, + 'label' => null, + ), array( + 'name' => 'namespace', + 'id' => 'namespace', + 'class' => 'namespaceselector', + ) ) . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . " ";