Legoktm has uploaded a new change for review.

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

Change subject: Don't require write access for Special:CiteThisPage
......................................................................

Don't require write access for Special:CiteThisPage

If the database is locked/read-only, this page will still function.

Change-Id: I4f942a173a8a319218f755f27d8b2a3c60ca54d0
(cherry picked from commit 2c65135c62a5924d114f0d2101a963bdf7dc6ba9)
---
M SpecialCiteThisPage.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CiteThisPage 
refs/changes/29/321729/1

diff --git a/SpecialCiteThisPage.php b/SpecialCiteThisPage.php
index 4b81aa0..ada2f3b 100644
--- a/SpecialCiteThisPage.php
+++ b/SpecialCiteThisPage.php
@@ -203,4 +203,8 @@
        public function requiresUnblock() {
                return false;
        }
+
+       public function requiresWrite() {
+               return false;
+       }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f942a173a8a319218f755f27d8b2a3c60ca54d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CiteThisPage
Gerrit-Branch: REL1_28
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to