r49498 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49497‎ | r49498 | r49499 >
Date:09:12, 15 April 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Add mw-sp-translate-$id to all message groups on Special:Translate
Modified paths:
  • /trunk/extensions/Translate/README (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)
  • /trunk/extensions/Translate/TranslatePage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslatePage.php
@@ -420,7 +420,7 @@
421421 $class = 'mw-sp-translate-target';
422422 }
423423
424 - $out = "\n<div class=\"$class\">\n";
 424+ $out = "\n<div class=\"$class mw-sp-translate-$id\">\n";
425425 $out .= Xml::tags( "h$level", null, $label );
426426
427427 if ( $desc !== null ) {
Index: trunk/extensions/Translate/Translate.php
@@ -11,7 +11,7 @@
1212 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1313 */
1414
15 -define( 'TRANSLATE_VERSION', '11:2009-04-06:1' );
 15+define( 'TRANSLATE_VERSION', '11:2009-04-15' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'name' => 'Translate',
Index: trunk/extensions/Translate/README
@@ -33,7 +33,8 @@
3434 </code>
3535
3636 == Changes in version 11 ==
37 -* 2009-04-04:2 Experimental support added for NOCC
 37+* 2009-04-15 Added class 'mw-sp-translate-[id]' to all message groups on Special:Translate
 38+* 2009-04-04:2 Support added for NOCC
3839 * 2009-04-04:1 PhpVariables Mantis header inconsistency fixed
3940 * 2009-03-29 Table header on Special:LanguageStats suppressed when all translations are complete
4041

Status & tagging log