dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf40d7
)
Make API action=rsd work on private wikis
author
Daniel Friesen
<daniel@nadir-seen-fire.com>
Fri, 18 Apr 2014 07:06:15 +0000
(
00:06
-0700)
committer
Anomie
<bjorsch@wikimedia.org>
Fri, 18 Apr 2014 13:31:36 +0000
(13:31 +0000)
Tweak ApiRsd's settings so that it doesn't require read permissions to function.
Bug: 64085
Change-Id: I15288458ec3b0b583eece930d323f80314bb6ee3
includes/api/ApiRsd.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiRsd.php
b/includes/api/ApiRsd.php
index
285177c
..
7a0f0c6
100644
(file)
--- 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,