r73771 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73770‎ | r73771 | r73772 >
Date:13:02, 26 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Quickfix: spaces in translatable page section keys not working correctly
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -743,6 +743,7 @@
744744
745745 $new_defs = array();
746746 foreach ( $defs as $k => $v ) {
 747+ $k = str_replace( ' ', '_', $k );
747748 $new_defs[$prefix . $k] = $v;
748749 }
749750

Status & tagging log