X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiRsd.php;h=a2771a0c4f5cde82f401b704f648962c81943eaf;hb=698cfad8b9380f070e53dd24475cac9dbb3b401b;hp=285177cee77d87096fff1198c1635f12ec8e488d;hpb=b42f229989084ea0b5c7dabea23a03c54460744c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index 285177cee7..a2771a0c4f 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, @@ -156,7 +160,7 @@ class ApiRsd extends ApiBase { } class ApiFormatXmlRsd extends ApiFormatXml { - public function __construct( $main, $format ) { + public function __construct( ApiMain $main, $format ) { parent::__construct( $main, $format ); $this->setRootElement( 'rsd' ); }