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=edit
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: MediaWiki
- Licenza: GPL-2.0-or-later
Crèa e cagna paggene.
- title
Titolo d' 'a paggena a cagnà. Nun se pò ausà nziem'a pageid.
- pageid
ID d' 'a paggena a cagnà. Nun se pò ausà nziem'a title.
- Type: integer
- section
Nummero 'e sezione. 0 p' 'a sezione ncoppa, new pe' na seziona nova.
- sectiontitle
'O titolo pe' na seziona nova.
- text
Cuntenuto 'e paggena.
- summary
Oggetto d' 'a modifica. Pure 'o titolo ra sezione quanno sezione=new e sectiontitle nun è mpustato.
Cagna 'e tag ca s'avesser'applicà 'a verziona.
- Valori (separati da | o alternativa):
- minor
Cagnamiento piccerillo.
- Tipo: booleano (dettagli)
- notminor
Cagnamiento nun-piccerillo.
- Tipo: booleano (dettagli)
- bot
Nzegna stu cagnamiento comm' 'e bot.
- Tipo: booleano (dettagli)
- baserevid
ID of the base revision, used to detect edit conflicts. May be obtained through action=query&prop=revisions. Self-conflicts cause the edit to fail unless basetimestamp is set.
- Type: integer
- basetimestamp
Nzegna 'o tiempo d' 'a verzione bbase, ausato pe' puté ffà scummiglià cunflitte 'edizione. Se putesse piglià pe' bbìa 'e action=query&prop=revisions&rvprop=timestamp.
- Tipo: timestamp (formati consentiti)
- starttimestamp
Nzegna 'o tiempo d' 'a verzione bbase, ausato pe' puté ffà scummiglià cunflitte 'edizione. Nu valore buono se putess'arrepiglià pe' bbìa 'e curtimestamp quann'accummencia 'o prucess' 'edizione (e.g. quanno se stà a carrecà 'o contenuto 'e na paggena p' 'a cagnà).
- Tipo: timestamp (formati consentiti)
- recreate
Scrive ncopp'a cocch'errore ncopp'a paggena avenno scancellato chesto a nu certo punto.
- Tipo: booleano (dettagli)
- createonly
Nun cagnà 'a paggena si esiste già.
- Tipo: booleano (dettagli)
- nocreate
Ietta 'errore si 'a paggena nun esiste.
- Tipo: booleano (dettagli)
- watch
- Deprecato.
Azzecc' 'a paggena â lista 'e paggene cuntrullate.
- Tipo: booleano (dettagli)
- unwatch
- Deprecato.
Liev' 'a paggena â lista 'e paggene cuntrullate.
- Tipo: booleano (dettagli)
- watchlist
Azzeccà o luvà senza condizione 'a paggena d' 'a lista d' 'e ppaggene cuntrullate 'a ll'utente, ausa mpustaziune o nun 'o cagnà.
- Uno dei seguenti valori: nochange, preferences, unwatch, watch
- Default: preferences
- watchlistexpiry
Watchlist expiry timestamp. Omit this parameter entirely to leave the current expiry unchanged.
- Type: expiry (details)
- md5
'O hash MD5 d' 'o parammetro 'e text, o chill' 'e prependtext e appendtext concatenate. Si mpustato, 'o cagnamiento nun fosse fatto... 'o cuntrario succeresse si 'o hash fosse curretto.
- prependtext
Azzecca stu testo addò 'o cap' 'e paggena. Se mettesse ncuoll'a text.
- appendtext
Azzecca stu testo addò 'o cap' 'e paggena. Se mettesse ncuoll'a text.
Ausate section=new pe' ne puté appennere na seziona nova, ato che ausà stu parammetro.
- undo
Torna arrèto sta verziona. Miette ncuollo 'o text, prependtext e appendtext.
- Type: integer
- The value must be no less than 0.
- undoafter
Torna arreto tuttuquante verziune 'e undo a cchesta. Si chesto nun fosse mpustato, avit'a ffà surtanto turnà arreto na verziona.
- Type: integer
- The value must be no less than 0.
- redirect
Risolve automaticamente 'e redirect.
- Tipo: booleano (dettagli)
- contentformat
Serializaziona 'e furmatt' 'e cuntenute ausata p' 'o testo trasuto.
- Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- contentmodel
Mudell' 'e cuntenute d' 'e cuntenute nuove nuove.
- Uno dei seguenti valori: GadgetDefinition, JsonSchema, MassMessageListContent, Scribunto, SecurePoll, css, javascript, json, sanitized-css, text, unknown, wikitext
- token
Un token "csrf" recuperato da action=query&meta=tokens
'O token s'avess'a mannà sempe comm'a ll'urdemo parammetro, o minimo minimo aropp'a 'o parammetro 'e text.
- This parameter is required.
- 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)
- captchaword
Rispunne a 'o CAPTCHA
- captchaid
ID CAPTCHA d' 'a riquesta 'e primma
- Cagna paggena.
- api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&baserevid=1234567&token=123ABC [apri in una sandbox]
- Pre-appenne __NOTOC__ a na paggena.
- api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [apri in una sandbox]
- Torna arreto 'e verziune 13579 nfin'a 13585 cu n'autosommario.
- api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [apri in una sandbox]