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

Change subject: Only tag users without the autoconfirmed right.
......................................................................


Only tag users without the autoconfirmed right.

Bug: 44361
Change-Id: I3bc2235ac9d5ae1060c86df03663dcb8a6966a38
---
M GettingStarted.hooks.php
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/GettingStarted.hooks.php b/GettingStarted.hooks.php
index 7935c7c..2c3a497 100644
--- a/GettingStarted.hooks.php
+++ b/GettingStarted.hooks.php
@@ -245,6 +245,12 @@
                        return true;
                }
 
+               $performer = $recentChange->getPerformer();
+
+               if ( $performer->isAllowed( 'autoconfirmed' ) ) {
+                       return true;
+               }
+
                $titleObj = $recentChange->getTitle();
                $task = self::getPageTask( $wgRequest, $titleObj );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3bc2235ac9d5ae1060c86df03663dcb8a6966a38
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/GettingStarted
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Spage <[email protected]>
Gerrit-Reviewer: Swalling <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to