r51636 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51635‎ | r51636 | r51637 >
Date:11:04, 9 June 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Update current groups on SpecialTranslationChanges
Modified paths:
  • /trunk/extensions/Translate/SpecialTranslationChanges.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialTranslationChanges.php
@@ -78,11 +78,13 @@
7979
8080 switch ( $group ) {
8181 case 'core': $class = 'mediawiki'; break;
 82+ case 'out-commonist': $class = 'commonist'; break;
8283 case 'out-freecol': $class = 'freecol'; break;
8384 case 'out-mantis': $class = 'mantis'; break;
8485 case 'out-nocc': $class = 'nocc'; break;
 86+ case 'out-openlayers': $class = 'openlayers'; break;
8587 case 'out-voctrain': $class = 'voctrain'; break;
86 - case 'out-zabbix': $class = 'zabbix'; break;
 88+ case 'out-mwlibrl': $class = 'mwlibrl'; break;
8789 default: $class = 'extension'; break;
8890 }
8991
@@ -98,10 +100,10 @@
99101 $batch->add( NS_MEDIAWIKI, $row->rc_title );
100102 }
101103 $batch->add( NS_MEDIAWIKI_TALK, $row->rc_title );
 104+ }
102105
 106+ ksort( $sorted );
103107
104 - }
105 - ksort( $sorted );
106108 if ( isset( $sorted['extension'] ) ) {
107109 ksort( $sorted['extension'] );
108110 }
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', '12c:2009-06-03' );
 15+define( 'TRANSLATE_VERSION', '12c:2009-06-09' );
1616
1717 $wgExtensionCredits['specialpage'][] = array(
1818 'path' => __FILE__,
@@ -246,10 +246,8 @@
247247 $wgHooks['ArticleViewHeader'][] = 'PageTranslationHooks::test';
248248
249249 }
250 -
251250 }
252251
253 -
254252 function efTranslateCheckPT() {
255253 global $wgHooks, $wgMemc;
256254
@@ -262,7 +260,6 @@
263261 return true;
264262 }
265263
266 -
267264 // Add our tags if they are not registered yet
268265 // tp:tag is called also the ready tag
269266 $tags = array( 'tp:mark', 'tp:tag', 'tp:transver', 'fuzzy' );
@@ -302,4 +299,4 @@
303300 if ( !defined('TRANSLATE_CLI') ) {
304301 function STDOUT() {}
305302 function STDERR() {}
306 -}
\ No newline at end of file
 303+}

Status & tagging log