http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58333
Revision: 58333 Author: siebrand Date: 2009-10-29 19:04:01 +0000 (Thu, 29 Oct 2009) Log Message: ----------- Rename 'core-mostused' to 'core-0-mostused' to fix sorting on Special:Translate Modified Paths: -------------- trunk/extensions/Translate/MessageGroups.php trunk/extensions/Translate/Translate.php trunk/extensions/Translate/scripts/groupStatistics.php Modified: trunk/extensions/Translate/MessageGroups.php =================================================================== --- trunk/extensions/Translate/MessageGroups.php 2009-10-29 18:58:38 UTC (rev 58332) +++ trunk/extensions/Translate/MessageGroups.php 2009-10-29 19:04:01 UTC (rev 58333) @@ -490,7 +490,7 @@ class CoreMostUsedMessageGroup extends CoreMessageGroup { protected $label = 'MediaWiki (most used)'; - protected $id = 'core-mostused'; + protected $id = 'core-0-mostused'; protected $meta = true; protected $description = '{{int:translate-group-desc-mediawikimostused}}'; Modified: trunk/extensions/Translate/Translate.php =================================================================== --- trunk/extensions/Translate/Translate.php 2009-10-29 18:58:38 UTC (rev 58332) +++ trunk/extensions/Translate/Translate.php 2009-10-29 19:04:01 UTC (rev 58333) @@ -145,7 +145,7 @@ /** AC = Available classes */ $wgTranslateAC = array( 'core' => 'CoreMessageGroup', -'core-mostused' => 'CoreMostUsedMessageGroup', +'core-0-mostused' => 'CoreMostUsedMessageGroup', ); /** Modified: trunk/extensions/Translate/scripts/groupStatistics.php =================================================================== --- trunk/extensions/Translate/scripts/groupStatistics.php 2009-10-29 18:58:38 UTC (rev 58332) +++ trunk/extensions/Translate/scripts/groupStatistics.php 2009-10-29 19:04:01 UTC (rev 58333) @@ -72,12 +72,12 @@ $localisedWeights = array( 'wikimedia' => array( - 'core-mostused' => 40, + 'core-0-mostused' => 40, 'core' => 30, 'ext-0-wikimedia' => 30 ), 'mediawiki' => array( - 'core-mostused' => 30, + 'core-0-mostused' => 30, 'core' => 30, 'ext-0-wikimedia' => 20, 'ext-0-all' => 20 @@ -128,12 +128,12 @@ and fuzzy are ignored and the localisation levels are weighted and reported. * mediawiki: - core-mostused (30%) + core-0-mostused (30%) core (30%) ext-0-wikimedia (20%) ext-0-all (20%) * wikimedia: - core-mostused (40%) + core-0-mostused (40%) core (30%) ext-0-wikimedia (30%) --speakers : add column for number of speakers (est.). Only valid when _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs