Aaron Schulz has uploaded a new change for review.

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

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

Define doesWrites() for SpecialPage classes

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


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProtectSite 
refs/changes/55/265055/1

diff --git a/ProtectSite.body.php b/ProtectSite.body.php
index fa15c0c..d581814 100644
--- a/ProtectSite.body.php
+++ b/ProtectSite.body.php
@@ -27,6 +27,10 @@
                parent::__construct( 'ProtectSite'/*class*/, 
'protectsite'/*restriction*/ );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Show the special page
         *

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee8679b2031c255b0f31b7578e9857e2a78bc95f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ProtectSite
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to