Simplify LocalFile::isVolatile
[lhc/web/wiklou.git] / includes / api / ApiRsd.php
index e01f0fa..7a0f0c6 100644 (file)
@@ -60,7 +60,7 @@ class ApiRsd extends ApiBase {
        }
 
        public function getDescription() {
-               return 'Export an RSD (Really Simple Discovery) schema';
+               return 'Export an RSD (Really Simple Discovery) schema.';
        }
 
        public function getExamples() {
@@ -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,