https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113233

Revision: 113233
Author:   nikerabbit
Date:     2012-03-07 14:29:45 +0000 (Wed, 07 Mar 2012)
Log Message:
-----------
Removing $wgTranslateGroupStructure

Modified Paths:
--------------
    trunk/extensions/Translate/README
    trunk/extensions/Translate/Translate.php

Modified: trunk/extensions/Translate/README
===================================================================
--- trunk/extensions/Translate/README   2012-03-07 14:29:03 UTC (rev 113232)
+++ trunk/extensions/Translate/README   2012-03-07 14:29:45 UTC (rev 113233)
@@ -30,10 +30,16 @@
  https://translatewiki.net/docs/Translate/html/
 
 == Change log ==
+* 2012-03-07
+- $wgTranslateGroupStructure is no longer used. If you are using aggregate 
message
+  groups, you can remove the old settings and everything still works as 
expected.
+  If you are not yet using aggregate message groups, you should to not confuse 
users.
 * 2012-03-05
 - Support for using remote TTMServers via API interface added.
 - Support for tmserver was removed. Translate comes with TTMServer enabled by 
default.
   To bootstrap it with current translations, run php 
scripts/ttmserver-export.php.
+
+# Missing entries above this line
 * 2012-02-19
 - MediaWiki 1.18 or later is now required.
 - Group description of translatable pages can be extended by adding content to

Modified: trunk/extensions/Translate/Translate.php
===================================================================
--- trunk/extensions/Translate/Translate.php    2012-03-07 14:29:03 UTC (rev 
113232)
+++ trunk/extensions/Translate/Translate.php    2012-03-07 14:29:45 UTC (rev 
113233)
@@ -479,42 +479,6 @@
 $wgTranslateAuthorBlacklist[] = array( 'black', '/^.*;.*;.*Bot$/Ui' );
 
 /**
- * Regexps for putting groups into subgroups at Special:Translate.
- * Deepest groups first.
- */
-$wgTranslateGroupStructure = array(
-       '/^core/' => array( 'core' ),
-       '/^ext-collection/' => array( 'ext', 'collection' ),
-       '/^ext-flaggedrevs/' => array( 'ext', 'flaggedrevs' ),
-       '/^ext-readerfeedback/' => array( 'ext', 'readerfeedback' ),
-       '/^ext-semantic/' => array( 'ext', 'semantic' ),
-       '/^ext-socialprofile/' => array( 'ext', 'socialprofile' ),
-       '/^ext-translate/' => array( 'ext', 'translate' ),
-       '/^ext-uniwiki/' => array( 'ext', 'uniwiki' ),
-       '/^ext-ui/' => array( 'ext', 'usabilityinitiative' ),
-       '/^ext/' => array( 'ext' ),
-       '/^wikia/' => array( 'wikia' ),
-       '/^tsint/' => array( 'tsint' ),
-       '/^out-eol/' => array( 'eol' ),
-       '/^out-ihris-common/' => array( 'ihris', 'common' ),
-       '/^out-ihris-i2ce/' => array( 'ihris', 'i2ce' ),
-       '/^out-ihris-manage/' => array( 'ihris', 'manage' ),
-       '/^out-ihris-qualify/' => array( 'ihris', 'qualify' ),
-       '/^out-ihris/' => array( 'ihris' ),
-       '/^out-mantis/' => array( 'mantis' ),
-       '/^out-mifos/' => array( 'mifos' ),
-       '/^out-nocc/' => array( 'nocc' ),
-       '/^out-okawix/' => array( 'okawix' ),
-       '/^out-openimages/' => array( 'openimages' ),
-       '/^out-osm/' => array( 'osm' ),
-       '/^out-pywikipedia/' => array( 'pywikipedia' ),
-       '/^shapado/' => array( 'shapado' ),
-       '/^out-statusnet-plugin/' => array( 'statusnet', 'plugin' ),
-       '/^out-statusnet/' => array( 'statusnet' ),
-//     '/^page\|/' => array( 'page' ),
-);
-
-/**
  * List of namespace that contain messages. No talk namespaces.
  * @see http://translatewiki.net/wiki/Translating:Group_configuration
  */


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to