API:Delete/es

Token
To delete a page, a CSRF token is required. The CSRF token is the same for all pages, but changes at every login. CSRF tokens can be obtained via  with   (MW 1.24+).

Borrado de páginas
Las páginas se pueden borrar con action=delete.

Parámetros

 * title:  The page you want to delete.
 * pageid: The page id of the page you want to delete
 * token:  The CSRF token obtained in the previous request. Take care to urlencode the trailing   as.
 * reason: The reason for the deletion (optional). If not provided, an automatically generated reason will be used.
 * watch:  Añadir la página a tu lista de seguimiento
 * unwatch: Eliminar la página de tu lista de seguimiento
 * oldimage: The name of the old image to delete as provided by

Ejemplo
In this example, all parameters are passed in a GET request just for the sake of simplicity. However,  requires POST requests; GET requests will cause an error.

Posibles errores
In addition to the usual stuff: