r113233 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113232‎ | r113233 | r113234 >
Date:14:29, 7 March 2012
Author:nikerabbit
Status:ok (Comments)
Tags:i18nreview 
Comment:
Removing $wgTranslateGroupStructure
Modified paths:
  • /trunk/extensions/Translate/README (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -479,42 +479,6 @@
480480 $wgTranslateAuthorBlacklist[] = array( 'black', '/^.*;.*;.*Bot$/Ui' );
481481
482482 /**
483 - * Regexps for putting groups into subgroups at Special:Translate.
484 - * Deepest groups first.
485 - */
486 -$wgTranslateGroupStructure = array(
487 - '/^core/' => array( 'core' ),
488 - '/^ext-collection/' => array( 'ext', 'collection' ),
489 - '/^ext-flaggedrevs/' => array( 'ext', 'flaggedrevs' ),
490 - '/^ext-readerfeedback/' => array( 'ext', 'readerfeedback' ),
491 - '/^ext-semantic/' => array( 'ext', 'semantic' ),
492 - '/^ext-socialprofile/' => array( 'ext', 'socialprofile' ),
493 - '/^ext-translate/' => array( 'ext', 'translate' ),
494 - '/^ext-uniwiki/' => array( 'ext', 'uniwiki' ),
495 - '/^ext-ui/' => array( 'ext', 'usabilityinitiative' ),
496 - '/^ext/' => array( 'ext' ),
497 - '/^wikia/' => array( 'wikia' ),
498 - '/^tsint/' => array( 'tsint' ),
499 - '/^out-eol/' => array( 'eol' ),
500 - '/^out-ihris-common/' => array( 'ihris', 'common' ),
501 - '/^out-ihris-i2ce/' => array( 'ihris', 'i2ce' ),
502 - '/^out-ihris-manage/' => array( 'ihris', 'manage' ),
503 - '/^out-ihris-qualify/' => array( 'ihris', 'qualify' ),
504 - '/^out-ihris/' => array( 'ihris' ),
505 - '/^out-mantis/' => array( 'mantis' ),
506 - '/^out-mifos/' => array( 'mifos' ),
507 - '/^out-nocc/' => array( 'nocc' ),
508 - '/^out-okawix/' => array( 'okawix' ),
509 - '/^out-openimages/' => array( 'openimages' ),
510 - '/^out-osm/' => array( 'osm' ),
511 - '/^out-pywikipedia/' => array( 'pywikipedia' ),
512 - '/^shapado/' => array( 'shapado' ),
513 - '/^out-statusnet-plugin/' => array( 'statusnet', 'plugin' ),
514 - '/^out-statusnet/' => array( 'statusnet' ),
515 -// '/^page\|/' => array( 'page' ),
516 -);
517 -
518 -/**
519483 * List of namespace that contain messages. No talk namespaces.
520484 * @see http://translatewiki.net/wiki/Translating:Group_configuration
521485 */
Index: trunk/extensions/Translate/README
@@ -30,10 +30,16 @@
3131 https://translatewiki.net/docs/Translate/html/
3232
3333 == Change log ==
 34+* 2012-03-07
 35+- $wgTranslateGroupStructure is no longer used. If you are using aggregate message
 36+ groups, you can remove the old settings and everything still works as expected.
 37+ If you are not yet using aggregate message groups, you should to not confuse users.
3438 * 2012-03-05
3539 - Support for using remote TTMServers via API interface added.
3640 - Support for tmserver was removed. Translate comes with TTMServer enabled by default.
3741 To bootstrap it with current translations, run php scripts/ttmserver-export.php.
 42+
 43+# Missing entries above this line
3844 * 2012-02-19
3945 - MediaWiki 1.18 or later is now required.
4046 - Group description of translatable pages can be extended by adding content to

Comments

#Comment by Santhosh.thottingal (talk | contribs)   05:19, 8 March 2012

Could not understand this line: "If you are not yet using aggregate message groups, you should to not confuse users."

Status & tagging log