jenkins-bot has submitted this change and it was merged.
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, 2 insertions(+), 1 deletion(-)
Approvals:
Nikerabbit: Looks good to me, approved
jenkins-bot: Verified
diff --git a/specials/SpecialTranslate.php b/specials/SpecialTranslate.php
index d4e9f2b..2600a9a 100644
--- a/specials/SpecialTranslate.php
+++ b/specials/SpecialTranslate.php
@@ -684,8 +684,9 @@
protected function groupSelector() {
$groups = MessageGroups::getAllGroups();
+ uasort( $groups, array( 'MessageGroups', 'groupLabelSort' ) );
$dynamic = MessageGroups::getDynamicGroups();
- $groups = array_keys( array_merge( $groups, $dynamic ) );
+ $groups = array_keys( array_merge( $dynamic, $groups ) );
$selected = $this->options['group'];
--
To view, visit https://gerrit.wikimedia.org/r/70332
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I18226e9a0215a689355aaebee03401f096fa298f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits