API:Changing wiki content/pl

Changing wiki content through the API is enabled by default as of MediaWiki 1.14; it can be disabled by setting in LocalSettings.php. In MediaWiki 1.13 and earlier, you have to explicitly enable the write API with $wgEnableWriteAPI = true;

Please see the appropriate subsection for detailed information for each module.


 * about the action to create new articles or modify existing ones.
 * about the action to rename or move articles.
 * about the action to rollback the last series of contributions to a page.
 * about the action to delete existing articles.
 * about the action to view and restore deleted revisions.
 * about the action to change the protection levels for a page.
 * about the actions to block and unblock a user.
 * about the action to watch and unwatch pages.
 * about the action to send email to other users.
 * about the action to patrol changes.
 * about the action to import pages from other wikis.
 * about the action to add and remove users to and from groups.
 * about the action to upload files.
 * about the action to get session-based tokens required for some actions.

Possible errors
Some wikis restrict the use of these modules to certain groups of users, or disallow it altogether. All aforementioned modules can return the following errors: