API talk:Delete

Extension: only deleting a specified revision
It would be very useful to introduce a new parameter for deleting a given revision of a page. In order to delete a only one or very few revisions of a page, an administrator needs to delete a page, select all revisions not to be deleted and restore these. This is causes problems if there are already deleted versions (typical for copyvios) and especially when deleting a page with a very high number of revisions. --Complex 23:50, 29 November 2007 (UTC)
 * Deleting individual revisions in the UI is being worked on. When it's available in the UI, it'll also be implemented in the API. --Catrope 11:31, 30 November 2007 (UTC)
 * Fine :-) --Complex 18:54, 30 November 2007 (UTC)

Working
Hello, i just would like to know if this function currently work on Wikipedia ? I can get the token without problem, but next, i test POST, GET, a lot param in POST or GET, both... action=delete, and action=edit (documentation talk about "edit" !) i always receive. Any body can test ? I dont understand where im wrong. Bayo 15:02, 16 April 2008 (UTC)
 * That's because action=delete (along with the rest of the edit API) is disabled on Wikipedia. --Catrope 15:56, 16 April 2008 (UTC)
 * Ok, thank a lot. I dont realy understand why, because i easily create the same using /w/index.php&... (i hop we can use it soon if we are a bot or an admin). In this restriction, is it possible to generate a more helpful error message ("write API is disabled"). Thank for your help. Bayo 11:15, 17 April 2008 (UTC)

Javascript examples
Please refrain from javascript examples here, as this section describes how to use MediaWiki core API, whereas javascript is a client library that uses that API. --Yurik (talk) 05:52, 17 November 2013 (UTC)