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

Change subject: Define doesWrites() for SpecialPage classes
......................................................................


Define doesWrites() for SpecialPage classes

Bug: T123591
Change-Id: I9275317363ca17c8c5d6c0f887212ec66e805142
---
M SpecialReplaceText.php
1 file changed, 4 insertions(+), 0 deletions(-)

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



diff --git a/SpecialReplaceText.php b/SpecialReplaceText.php
index b3039a3..6a716fb 100644
--- a/SpecialReplaceText.php
+++ b/SpecialReplaceText.php
@@ -7,6 +7,10 @@
                parent::__construct( 'ReplaceText', 'replacetext' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        function execute( $query ) {
                if ( !$this->getUser()->isAllowed( 'replacetext' ) ) {
                        throw new PermissionsError( 'replacetext' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9275317363ca17c8c5d6c0f887212ec66e805142
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ReplaceText
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to