Jump to content

API talk:Delete

From mediawiki.org

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 <error code="unknown_action" info="Unrecognised value for parameter 'action'"/>. Any body can test ? I dont understand where im wrong. Bayo 15:02, 16 April 2008 (UTC)Reply

That's because action=delete (along with the rest of the edit API) is disabled on Wikipedia. --Catrope 15:56, 16 April 2008 (UTC)Reply
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)Reply

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)Reply