jenkins-bot has submitted this change and it was merged.

Change subject: SpecialNotifyTranslators: Sort translatable pages alphabetically
......................................................................


SpecialNotifyTranslators: Sort translatable pages alphabetically

This is better than the current sorting order by time.

Bug: T95709
Change-Id: I0de8c7868506418b6e25ff86e1c0ab904484102b
---
M SpecialNotifyTranslators.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SpecialNotifyTranslators.php b/SpecialNotifyTranslators.php
index ddc0f50..2f40f24 100644
--- a/SpecialNotifyTranslators.php
+++ b/SpecialNotifyTranslators.php
@@ -88,6 +88,7 @@
        private function getFormFields( $tpage = 0 ) {
                // Translatable pages dropdown
                $translatablePages = MessageGroups::getGroupsByType( 
'WikiPageMessageGroup' );
+               usort( $translatablePages, array( 'MessageGroups', 
'groupLabelSort' ) );
 
                $translatablePagesOptions = array();
                /**

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0de8c7868506418b6e25ff86e1c0ab904484102b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/TranslationNotifications
Gerrit-Branch: master
Gerrit-Owner: Glaisher <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Glaisher <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to