r37060 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37059‎ | r37060 | r37061 >
Date:15:17, 4 July 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Allow entities in labels
Modified paths:
  • /trunk/extensions/Translate/TranslatePage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslatePage.php
@@ -166,7 +166,7 @@
167167 $options = array();
168168 foreach ( array( 'task', 'group', 'language', 'limit' ) as $g ) {
169169 $options[] = self::optionRow(
170 - Xml::label( wfMsg( self::MSG . $g ), $g),
 170+ Xml::tags( 'label', array( 'for' => $g ), wfMsg( self::MSG . $g, 'escapenoentities' ) ),
171171 $$g,
172172 array_key_exists( $g, $errors ) ? $errors[$g] : null
173173 );

Status & tagging log