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
This commit is contained in:
parent
bbf40d791e
commit
c7e18ffb14
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue