r114140 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114139‎ | r114140 | r114141 >
Date:14:34, 19 March 2012
Author:krinkle
Status:ok
Tags:
Comment:
[Html::namespaceSelector clean up] fix broken html from r114131
Modified paths:
  • /trunk/phase3/includes/specials/SpecialProtectedpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialProtectedpages.php
@@ -186,8 +186,7 @@
187187 * @return String
188188 */
189189 protected function getNamespaceMenu( $namespace = null ) {
190 - return "<span style='white-space: nowrap'>" .
191 - Html::rawElement( 'span', array( 'style' => 'white-space:nowrap' ),
 190+ return Html::rawElement( 'span', array( 'style' => 'white-space: nowrap;' ),
192191 Html::namespaceSelector(
193192 array(
194193 'selected' => $namespace,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114131Change calls from Xml::namespaceSelector() to Html::namespaceSelector() since...ialex12:30, 19 March 2012

Status & tagging log