Alex Monk has uploaded a new change for review.

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

Change subject: Add block log flags in the same order as 
SpecialBlock::blockLogFlags
......................................................................

Add block log flags in the same order as SpecialBlock::blockLogFlags

Bug: T126130
Change-Id: I3fddcd35daf0c09c778715e12e076692c31f2550
---
M specials/SpecialCheckUser.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CheckUser 
refs/changes/09/268909/1

diff --git a/specials/SpecialCheckUser.php b/specials/SpecialCheckUser.php
index 80fc6ff..0692f0c 100644
--- a/specials/SpecialCheckUser.php
+++ b/specials/SpecialCheckUser.php
@@ -260,15 +260,15 @@
                        $flags[] = 'anononly';
                }
 
-               if ( $wgBlockAllowsUTEdit && $blockParams['talk'] ) {
-                       $flags[] = 'nousertalk';
-               }
+               $flags[] = 'nocreate';
 
                if ( $blockParams['email'] ) {
                        $flags[] = 'noemail';
                }
 
-               $flags[] = 'nocreate';
+               if ( $wgBlockAllowsUTEdit && $blockParams['talk'] ) {
+                       $flags[] = 'nousertalk';
+               }
 
                return implode( ',', $flags );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fddcd35daf0c09c778715e12e076692c31f2550
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CheckUser
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <kren...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to