Aaron Schulz has uploaded a new change for review.

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

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

Define doesWrites() for SpecialPage classes

Bug: T123591
Change-Id: I79b15eb50b153b4bf3c866284e76b92bafa7e8f7
---
M SpecialAdminPoll.php
M SpecialCreatePoll.php
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PollNY 
refs/changes/22/265022/1

diff --git a/SpecialAdminPoll.php b/SpecialAdminPoll.php
index 8b44e35..9012512 100644
--- a/SpecialAdminPoll.php
+++ b/SpecialAdminPoll.php
@@ -14,6 +14,10 @@
                parent::__construct( 'AdminPoll', 'polladmin' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Show the special page
         *
diff --git a/SpecialCreatePoll.php b/SpecialCreatePoll.php
index 06db9fa..c2dc5c0 100644
--- a/SpecialCreatePoll.php
+++ b/SpecialCreatePoll.php
@@ -13,6 +13,10 @@
                parent::__construct( 'CreatePoll' );
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Show the special page
         *

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I79b15eb50b153b4bf3c866284e76b92bafa7e8f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PollNY
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