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=visualeditoredit

(main | visualeditoredit)
  • Este módulo es interno o inestable y no debes usarlo. Su funcionamiento puede cambiar sin previo aviso.
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: VisualEditor
  • Licencia: MIT

Guardar una páxina HTML5 en MediaWiki (convertida en testu wiki mediante'l serviciu Parsoid).

Parámetros específicos:
Other general parameters are available.
paction

Aición a facer.

Este parámetro es obligatorio.
Uno de los siguientes valores: diff, save, serialize, serializeforcache
page

La páxina onde facer les aiciones.

Este parámetro es obligatorio.
token

A "csrf" token retrieved from action=query&meta=tokens

Este parámetro es obligatorio.
wikitext

El testu wiki col qu'hai qu'actuar.

section

La sección onde actuar.

sectiontitle

Títulu de la sección nueva.

basetimestamp

Al guardar,establez esto como la marca horaria de la revisión que s'editó. Utilizao pa detectar conflictos d'edición.

Tipo: timestamp (formatos permitidos)
starttimestamp

Al guardar,establez esto como la marca horaria de cuando se cargó la páxina. Utilizao pa detectar conflictos d'edición.

Tipo: timestamp (formatos permitidos)
oldid

Númberu de revisión a usar. De mou predetermináu, la última revisión. Usa 0 pa una páxina nueva.

Tipo: entero
minor

Marca d'edición menor.

watchlist

Incondicionalmente añadir o eliminar la página de lista del usuario actual, utilice referencias o no cambiar el reloj.

html

HTML pa unviar a Parsoid a cambiu de testu wiki.

etag

ETag qu'unviar.

summary

Resume d'edición.

captchaid

ID de captcha (al guardar con una respuesta al captcha).

captchaword

Respuesta al captcha (al guardar con una respuesta al captcha).

cachekey

Usar el resultáu d'una solicitú serializeforcache anterior con esta clave. Salta html.

nocontent

Omit the HTML content of the new revision in the response.

Type: boolean (details)
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)
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, cologneblue, fallback, minerva, modern, monobook, timeless, vector, vector-2022
tags

Camudar les etiquetes a aplicar a la edición.

Separar los valores con | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
plugins

Plugins associated with the API request.

Separar los valores con | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
data-{plugin}

Arbitrary data sent by a plugin with the API request.

This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
mobileformat

Devolver la salida del analís nun formatu afayadizu pa preseos móviles.

Type: boolean (details)