https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113115

Revision: 113115
Author:   jeroendedauw
Date:     2012-03-06 00:53:48 +0000 (Tue, 06 Mar 2012)
Log Message:
-----------
get rid of deprecated method usage making people on education program test wiki 
go mad

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialContributions.php

Modified: trunk/phase3/includes/specials/SpecialContributions.php
===================================================================
--- trunk/phase3/includes/specials/SpecialContributions.php     2012-03-06 
00:47:05 UTC (rev 113114)
+++ trunk/phase3/includes/specials/SpecialContributions.php     2012-03-06 
00:53:48 UTC (rev 113115)
@@ -444,7 +444,16 @@
                                )
                        ) .
                        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(),


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to