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

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
---
M SpecialCiteThisPage.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



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/321716
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f942a173a8a319218f755f27d8b2a3c60ca54d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CiteThisPage
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to