Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -1182,6 +1182,11 @@ |
1183 | 1183 | public static function getGroup( $id ) { |
1184 | 1184 | // BC with page| which is now page- |
1185 | 1185 | $id = strtr( $id, '|', '-' ); |
| 1186 | + /* Translatable pages use spaces, but MW occasionally likes to |
| 1187 | + * normalize spaces to underscores */ |
| 1188 | + if ( strpos( $id, 'page-' ) === 0 ) { |
| 1189 | + $id = strtr( $id, '_', ' ' ); |
| 1190 | + } |
1186 | 1191 | self::init(); |
1187 | 1192 | |
1188 | 1193 | global $wgTranslateEC, $wgTranslateAC, $wgTranslateCC; |