get rid of deprecated method usage making people on education program test wiki go mad
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 6 Mar 2012 00:53:48 +0000 (00:53 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 6 Mar 2012 00:53:48 +0000 (00:53 +0000)
includes/specials/SpecialContributions.php

index 36ec710..2a46573 100644 (file)
@@ -444,7 +444,16 @@ class SpecialContributions extends SpecialPage {
                                )
                        ) .
                        Xml::tags( 'td', null,
-                               Xml::namespaceSelector( $this->opts['namespace'], '' ) . '&#160;' .
+                               Html::namespaceSelector( array(
+                                       'selected' => $this->opts['namespace'],
+                                       'all'      => '',
+                                       'label'    => null,
+                               ), array(
+                                       'name'  => 'namespace',
+                                       'id'    => 'namespace',
+                                       'class' => 'namespaceselector',
+                               ) ) .
+                               '&#160;' .
                                Html::rawElement( 'span', array( 'style' => 'white-space: nowrap' ),
                                        Xml::checkLabel(
                                                $this->msg( 'invert' )->text(),