Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=discussiontoolsedit
- Este módulo requiere permisos de lectura.
- Este módulo requiere permisos de escritura.
- Este módulo solo acepta solicitudes POST.
- Fuente: Herramientas de discusión
- Licencia: MIT
Publicar un mensaje en una página de discusión.
- paction
Acción que realizar.
- addcomment
- Añadir un nuevo comentario como respuesta a un comentario existente.
- addtopic
- Añadir una nueva sección de discusión y el primer comentario en ella.
- Este parámetro es obligatorio.
- Uno de los siguientes valores: addcomment, addtopic
- autosubscribe
¿Suscribir automáticamente al usuario al hilo de la página de discusión?
- Uno de los siguientes valores: default, no, yes
- Predeterminado: default
- page
La página en la que se realizarán acciones.
- Este parámetro es obligatorio.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Este parámetro es obligatorio.
- formtoken
Una identificación única opcional generada en el cliente para evitar la doble publicación.
- Cannot be longer than 16 characters.
- commentname
Nombre del comentario al que responder. Solo se utiliza cuando paction es addcomment.
- commentid
ID del comentario a responder. Es usado solamente cuando paction es addcomment. Sobrescribe commentname .
- wikitext
Contenido a publicar, como wikitexto. No puede ser usado junto a html.
- html
Contenido a publicar, como HTML. No puede ser usado junto a wikitext.
- summary
Resumen de edición.
- sectiontitle
El título de una sección nueva. Solo se utiliza cuando paction es addtopic.
- allownosectiontitle
Permitir publicar una nueva sección sin título.
- Type: boolean (details)
- useskin
Aplicar la piel seleccionada a la salida del analizador. Puede afectar a las siguientes propiedades: langlinks, headitems, módulos, jsconfigvars, indicadores.
- Uno de los siguientes valores: apioutput, citizen, fallback, vector, vector-2022
- watchlist
Incondicionalmente añadir o eliminar la página de lista del usuario actual, utilice referencias o no cambiar el reloj.
- captchaid
Captcha ID (al guardar respondiendo un código de imágeen "captcha").
- captchaword
Respuesta al código de imagen (al guardar respondiendo un código de imágeen "captcha").
- nocontent
Omit the HTML content of the new revision in the response.
Change tags to apply to the edit.
- Separar los valores con | o con una alternativa.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Tipo: título de página
- Acepta páginas inexistentes.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Predeterminado: (vacío)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Predeterminado: (vacío)