https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114140
Revision: 114140
Author: krinkle
Date: 2012-03-19 14:34:27 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
[Html::namespaceSelector clean up] fix broken html from r114131
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialProtectedpages.php
Modified: trunk/phase3/includes/specials/SpecialProtectedpages.php
===================================================================
--- trunk/phase3/includes/specials/SpecialProtectedpages.php 2012-03-19
14:19:16 UTC (rev 114139)
+++ trunk/phase3/includes/specials/SpecialProtectedpages.php 2012-03-19
14:34:27 UTC (rev 114140)
@@ -186,8 +186,7 @@
* @return String
*/
protected function getNamespaceMenu( $namespace = null ) {
- return "<span style='white-space: nowrap'>" .
- Html::rawElement( 'span', array( 'style' =>
'white-space:nowrap' ),
+ return Html::rawElement( 'span', array( 'style' =>
'white-space: nowrap;' ),
Html::namespaceSelector(
array(
'selected' => $namespace,
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs