From: Daniel Friesen Date: Fri, 18 Apr 2014 07:06:15 +0000 (-0700) Subject: Make API action=rsd work on private wikis X-Git-Tag: 1.31.0-rc.0~16165^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=c7e18ffb14b75df2cb4f3f6e3ea924f5cfc8be0e;p=lhc%2Fweb%2Fwiklou.git Make API action=rsd work on private wikis Tweak ApiRsd's settings so that it doesn't require read permissions to function. Bug: 64085 Change-Id: I15288458ec3b0b583eece930d323f80314bb6ee3 --- diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index 285177cee7..7a0f0c6332 100644 --- a/includes/api/ApiRsd.php +++ b/includes/api/ApiRsd.php @@ -69,6 +69,10 @@ class ApiRsd extends ApiBase { ); } + public function isReadMode() { + return false; + } + /** * Builds an internal list of APIs to expose information about. * Normally this only lists the MediaWiki API, with its base URL,