Aaron Schulz has uploaded a new change for review.

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

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

Define doesWrites() for SpecialPage classes

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


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

diff --git a/SpecialAddVideo.php b/SpecialAddVideo.php
index 7555872..decd158 100644
--- a/SpecialAddVideo.php
+++ b/SpecialAddVideo.php
@@ -22,6 +22,10 @@
                parent::__construct( 'AddVideo' /*class*/, 'addvideo' 
/*restriction*/);
        }
 
+       public function doesWrites() {
+               return true;
+       }
+
        /**
         * Group this special page under the correct header in 
Special:SpecialPages.
         *

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I59cdbcbee968361db98a0d32d02d94501a243d1a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Video
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

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

Reply via email to