From dd0f13921ab7954dc17e1870e0bdd6277893b1dc Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 8 Aug 2007 01:05:27 +0000 Subject: [PATCH] Document $wgEnableAPI and $wgEnableWriteAPI better --- includes/DefaultSettings.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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; /** -- 2.20.1