SimmeD has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/392202 )
Change subject: List names will now sort alphabetically ...................................................................... List names will now sort alphabetically Added sort() method to make the names on the list sort alphabetically. Bug: T175895 Change-Id: I5e81b7cf3c22c0755f3a6ea423656b5f344bd1f3 --- M includes/specials/SpecialNewsletter.php 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Newsletter refs/changes/02/392202/1 diff --git a/includes/specials/SpecialNewsletter.php b/includes/specials/SpecialNewsletter.php index 9bd005a..cf37331 100644 --- a/includes/specials/SpecialNewsletter.php +++ b/includes/specials/SpecialNewsletter.php @@ -427,6 +427,8 @@ $subscribersNames[] = $subscriber->getName(); } + sort ($subscribersNames); + $fields = [ 'subscribers' => [ 'type' => 'textarea', -- To view, visit https://gerrit.wikimedia.org/r/392202 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5e81b7cf3c22c0755f3a6ea423656b5f344bd1f3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Newsletter Gerrit-Branch: master Gerrit-Owner: SimmeD <simeond...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits