MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=visualeditoredit

(main | visualeditoredit)
  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: VisualEditor
  • Licenza: MIT

Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).

Parametri specifici:
Sono disponibili altri parametri generali.
paction

Azione da eseguire.

This parameter is required.
Uno dei seguenti valori: diff, save, serialize, serializeforcache
page

'A paggena ncopp' 'a quale s'avesser'apprecà l'aziune.

This parameter is required.
token

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.
wikitext

The wikitext to act with.

section

La sezione su cui agire.

sectiontitle

Titolo per la nuova sezione.

basetimestamp

Quanno se stesse a sarvà, mpustate stu parametro a 'o timestamp d' 'a verziona ca se steva a cagnà. Ausato pe' putè scummiglià cunflitte 'e cagnamiento.

Tipo: timestamp (formati consentiti)
starttimestamp

Quanno se stesse a sarvà, mpustate stu parametro a 'o timestamp 'e quann' 'a paggena è stata carrecata. Chest'è ausato pe' putè scummiglià cunflitte 'e cagnamiento.

Tipo: timestamp (formati consentiti)
oldid

'O nummero 'e verziona 'ausà. 'A default currispunnesse ll'urdema virziona. Ausate 0 pe' ne ffà na paggena nova nova.

Type: integer
minor

Flag pe nu cagnamiénto piccerillo.

watchlist

Azzeccà o luvà senza condizione 'a paggena d' 'a lista d' 'e ppaggene cuntrullate 'a ll'utente, ausa mpustaziune o nun 'o cagnà.

html

HTML 'a mannà 'o Parsoid scagnato p' 'o wikitext.

etag

ETag a mannà.

summary

Oggetto d' 'o cagnamiento.

captchaid

Captcha ID (quanno se stesse a sarvà cu na risposta captcha).

captchaword

Risponne a 'o captcha (quanno se stesse a sarvà cu na risposta captcha).

cachekey

Ausà 'o risultato d' 'e serializeforcache 'e primma cu sta chiave. Sovrascrive html.

nocontent

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

Tipo: booleano (dettagli)
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: titolo della pagina
Accetta pagine non esistenti.
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.

Predefinito: (vuoto)
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.

Predefinito: (vuoto)
useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

Uno dei seguenti valori: apioutput, cologneblue, contenttranslation, fallback, minerva, modern, monobook, timeless, vector, vector-2022
tags

Change tags to apply to the edit.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
plugins

Plugins associated with the API request.

ge-task-link-recommendation
Use when saving a GrowthExperiments "Add a link" structured edit.
Separa i valori con | o 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.

For the ge-task-link-recommendation plugin

A JSON string of an object with these keys:

  • acceptedTargets: (optional) Array with the titles of pages, the recommended link to which was accepted by the user.
  • rejectedTargets: (optional) Array with the titles of pages, the recommended link to which was rejected by the user.
  • skippedTargets: (optional) Array with the titles of pages, the recommended link to which was skipped (ignored) by the user.
This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
mobileformat

Tuorna nu risultato scagnato a nu furmato ca trasisse pure dint'a ll'apparicchie mobbele

Tipo: booleano (dettagli)