From: Rob Church Date: Wed, 8 Aug 2007 01:05:27 +0000 (+0000) Subject: Document $wgEnableAPI and $wgEnableWriteAPI better X-Git-Tag: 1.31.0-rc.0~51829 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=dd0f13921ab7954dc17e1870e0bdd6277893b1dc;p=lhc%2Fweb%2Fwiklou.git Document $wgEnableAPI and $wgEnableWriteAPI better --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index ff32e76deb..8b21de080c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2660,10 +2660,18 @@ $wgDjvuPostProcessor = 'pnmtojpeg'; $wgDjvuOutputExtension = 'jpg'; /** -* Enable direct access to the data API -* through api.php -*/ + * Enable the MediaWiki API for convenient access to + * machine-readable data via api.php + * + * See http://www.mediawiki.org/wiki/API + */ $wgEnableAPI = true; + +/** + * Allow the API to be used to perform write operations + * (page edits, rollback, etc.) when an authorised user + * accesses it + */ $wgEnableWriteAPI = false; /**