From 08f1f588aec2f075f9559e74cbb2aae7cc0d461a Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Tue, 6 Mar 2012 00:53:48 +0000 Subject: [PATCH] get rid of deprecated method usage making people on education program test wiki go mad --- includes/specials/SpecialContributions.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 36ec7103c6..2a465739b9 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -444,7 +444,16 @@ class SpecialContributions extends SpecialPage { ) ) . Xml::tags( 'td', null, - Xml::namespaceSelector( $this->opts['namespace'], '' ) . ' ' . + Html::namespaceSelector( array( + 'selected' => $this->opts['namespace'], + 'all' => '', + 'label' => null, + ), array( + 'name' => 'namespace', + 'id' => 'namespace', + 'class' => 'namespaceselector', + ) ) . + ' ' . Html::rawElement( 'span', array( 'style' => 'white-space: nowrap' ), Xml::checkLabel( $this->msg( 'invert' )->text(), -- 2.20.1