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
- 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).
- paction
Azione da eseguire.
- This parameter is required.
- Uno dei seguenti valori: diff, save, serialize, serializeforcache
- page
La pagina su cui eseguire l'azione.
- 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
Quando salvi, imposta questo parametro al timestamp della revisione che è stata modificata. È utilizzato per rilevare i conflitti di edizione.
- Tipo: timestamp (formati consentiti)
- starttimestamp
Quando salvi, imposta questo parametro al timestamp di quando la pagina è stata caricata. È utilizzato per rilevare i conflitti di modifica.
- Tipo: timestamp (formati consentiti)
- oldid
Il numero di versione da utilizzare. Il valore di default corrisponde all'ultima versione.
- Type: integer
- minor
Identificazione come modifica minore.
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- html
HTML da inviare al Parsoid per essere convertito in wikitesto.
- etag
ETag da inviare.
- summary
Oggetto della modifica.
- captchaid
Captcha ID (quando stai salvando con una risposta captcha).
- captchaword
Rispondi al captcha (quando salvi con una risposta captcha).
- cachekey
Utilizza il risultato di una richiesta serializeforcache precedente con questa 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, authentication-popup, fallback, json, minerva, monobook, timeless, vector, vector-2022
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.
- 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.
- This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.