Nemo bis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/70332


Change subject: Sort groups alphabetically in Special:Translate export tab
......................................................................

Sort groups alphabetically in Special:Translate export tab

Bug: 48783
Change-Id: I18226e9a0215a689355aaebee03401f096fa298f
---
M specials/SpecialTranslate.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/32/70332/1

diff --git a/specials/SpecialTranslate.php b/specials/SpecialTranslate.php
index d4e9f2b..bbf6513 100644
--- a/specials/SpecialTranslate.php
+++ b/specials/SpecialTranslate.php
@@ -686,6 +686,7 @@
                $groups = MessageGroups::getAllGroups();
                $dynamic = MessageGroups::getDynamicGroups();
                $groups = array_keys( array_merge( $groups, $dynamic ) );
+               uasort( $groups, array( 'MessageGroups', 'groupLabelSort' ) );
 
                $selected = $this->options['group'];
 

-- 
To view, visit https://gerrit.wikimedia.org/r/70332
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18226e9a0215a689355aaebee03401f096fa298f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>

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

Reply via email to