Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2660,10 +2660,18 @@ |
2661 | 2661 | $wgDjvuOutputExtension = 'jpg'; |
2662 | 2662 | |
2663 | 2663 | /** |
2664 | | -* Enable direct access to the data API |
2665 | | -* through api.php |
2666 | | -*/ |
| 2664 | + * Enable the MediaWiki API for convenient access to |
| 2665 | + * machine-readable data via api.php |
| 2666 | + * |
| 2667 | + * See http://www.mediawiki.org/wiki/API |
| 2668 | + */ |
2667 | 2669 | $wgEnableAPI = true; |
| 2670 | + |
| 2671 | +/** |
| 2672 | + * Allow the API to be used to perform write operations |
| 2673 | + * (page edits, rollback, etc.) when an authorised user |
| 2674 | + * accesses it |
| 2675 | + */ |
2668 | 2676 | $wgEnableWriteAPI = false; |
2669 | 2677 | |
2670 | 2678 | /** |