Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
teknopedia

teknopedia

teknopedia

teknopedia

teknopedia

teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
teknopedia
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. MediaWiki API help - Teknopedia
MediaWiki API help - Teknopedia

This is an auto-generated MediaWiki API documentation page.

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

action=edit

(main | 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

Crea e modifica pagine.

  • https://www.mediawiki.org/wiki/Special:MyLanguage/API:Edit
Parametri specifici:
Sono disponibili altri parametri generali.
title

Titolo della pagina da modificare. Non può essere usato insieme a pageid.

pageid

ID di pagina della pagina da modificare. Non può essere usato insieme con title.

Type: integer
section

Identificativo di sezione. 0 per la sezione iniziale, new per una nuova sezione. Spesso è un intero positivo, ma potrebbe essere anche non numerico.

sectiontitle

Il titolo per una nuova sezione quando usi section=new.

text

Contenuto della pagina.

summary

Riepilogo delle modifiche.

Se questo parametro non viene specificato o è vuoto, potrebbe essere generato automaticamente un riepilogo delle modifiche.

Se si utilizza section=new e sectiontitle non viene specificato, il valore di questo parametro viene utilizzato per il titolo della sezione e viene generato automaticamente un riepilogo delle modifiche.

tags

Cambia i tag da applicare alla revisione.

Valori (separati da | o alternativa): AWB, Editor wikitesto 2017, JWB, Unione di crono, WPCleaner, aggiunta ripetuta di collegamenti esterni da parte di un nuovo utente, copyviol, domanda ad un tutor, modifica inattesa del tmp bozza, possibile-nui, prove-it, quick-responses, requests-wizard, ripristino-rapido, traduzionecontenuti, vandalismo
minor

Contrassegna questa modifica come minore.

Tipo: booleano (dettagli)
notminor

Non contrassegnare questa modifica come minore anche se la preferenza "Indica ogni modifica come minore (solo come predefinito)" è impostata.

Tipo: booleano (dettagli)
bot

Contrassegna questa modifica come eseguita da un 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

Timestamp of the base revision, used to detect edit conflicts. May be obtained through action=query&prop=revisions&rvprop=timestamp. Self-conflicts are ignored.

Tipo: timestamp (formati consentiti)
starttimestamp

Timestamp when the editing process began, used to detect edit conflicts. An appropriate value may be obtained using curtimestamp when beginning the edit process (e.g. when loading the page content to edit).

Tipo: timestamp (formati consentiti)
recreate

Override any errors about the page having been deleted in the meantime.

Tipo: booleano (dettagli)
createonly

Non modificare la pagina se già esiste.

Tipo: booleano (dettagli)
nocreate

Genera un errore se la pagina non esiste.

Tipo: booleano (dettagli)
watch
Deprecato.

Aggiunge la pagina agli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
unwatch
Deprecato.

Rimuove la pagina dagli osservati speciali dell'utente attuale.

Tipo: booleano (dettagli)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

Uno dei seguenti valori: nochange, preferences, unwatch, watch
Predefinito: preferences
watchlistexpiry

Watchlist expiry timestamp. Omit this parameter entirely to leave the current expiry unchanged.

Type: expiry (details)
md5

The MD5 hash of the text parameter, or the prependtext and appendtext parameters concatenated. If set, the edit won't be done unless the hash is correct.

prependtext

Add this text to the beginning of the page or section. Overrides text.

appendtext

Add this text to the end of the page or section. Overrides text.

Use section=new to append a new section, rather than this parameter.

undo

Undo this revision. Overrides text, prependtext and appendtext.

Type: integer
The value must be no less than 0.
undoafter

Undo all revisions from undo to this one. If not set, just undo one revision.

Type: integer
The value must be no less than 0.
redirect

Risolvi automaticamente redirect.

Tipo: booleano (dettagli)
contentformat

Content serialization format used for the input text.

Uno dei seguenti valori: application/json, application/octet-stream, application/unknown, application/vue+xml, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
contentmodel

Modello di contenuto dei nuovi contenuti.

Uno dei seguenti valori: GadgetDefinition, Graph.JsonConfig, Json.JsonConfig, JsonSchema, MassMessageListContent, Scribunto, SecurePoll, css, javascript, json, sanitized-css, text, unknown, vue, wikitext
token

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

Il token deve sempre essere inviato come ultimo parametro, o almeno dopo il parametro text.

Questo parametro è obbligatorio.
returnto

Titolo della pagina. Quando si effettua una modifica con un account temporaneo, durante il salvataggio, l'API potrebbe rispondere con un URL che invita chi modifica a completare l'accesso. Se questo parametro viene fornito, l'URL reindirizzerà alla pagina specificata, invece che a quella modificata.

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

Risposta al CAPTCHA

captchaid

ID CAPTCHA dalla precedente richiesta

discussiontoolsautosubscribe

Automatically subscribe the user to any new talk page threads created by the edit. Use 'yes' or 'no' to override a user's preference (the default).

Uno dei seguenti valori: no, preferences, yes
Predefinito: preferences
Esempi:
Modifica una pagina.
api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&baserevid=1234567&token=123ABC [apri in una sandbox]
Anteponi __NOTOC__ a una pagina.
api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [apri in una sandbox]
Undo revisions 13579 through 13585 with autosummary.
api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=2007-08-24T12:34:54Z&token=123ABC [apri in una sandbox]
Estratto da "https://it.wikipedia.org/wiki/Speciale:ApiHelp"

  • Indonesia
  • English
  • Français
  • 日本語
  • Deutsch
  • Italiano
  • Español
  • Русский
  • فارسی
  • Polski
  • 中文
  • Nederlands
  • Português
  • العربية
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022