From: Jeroen De Dauw Date: Tue, 6 Mar 2012 00:53:48 +0000 (+0000) Subject: get rid of deprecated method usage making people on education program test wiki go mad X-Git-Tag: 1.31.0-rc.0~24371 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=08f1f588aec2f075f9559e74cbb2aae7cc0d461a;p=lhc%2Fweb%2Fwiklou.git get rid of deprecated method usage making people on education program test wiki go mad --- 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(),