Add rest.php (REST API endpoint) with feature flag
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index a32af36..ce53060 100644 (file)
@@ -8299,6 +8299,13 @@ $wgCrossSiteAJAXdomains = [];
  */
 $wgCrossSiteAJAXdomainExceptions = [];
 
+/**
+ * Enable the experimental REST API.
+ *
+ * This will be removed once the REST API is stable and used by clients.
+ */
+$wgEnableRestAPI = false;
+
 /** @} */ # End AJAX and API }
 
 /************************************************************************//**