API:Changing wiki content/it
Appearance
| Questa pagina fa parte della documentazione MediaWiki API. |
Changing wiki content through the API can be done through several different modules.
Please see the appropriate subsection for detailed information for each module. Write modules generally require a POST method, where read modules usually use GET methods. Exceptions are noted on individual pages.
Read modules
| Modulo | Funzione |
|---|---|
| Changeauthenticationdata | Modificare i dati di autenticazione per l'utente corrente. |
| Checktoken | Verifica la validità di un token da action=query&meta=tokens. |
| Clientlogin | Accedi al wiki utilizzando il flusso interattivo. |
| Compare | Get the difference between 2 pages. |
| Expandtemplates | Espande tutti i template all'interno del wikitesto. |
| Feedcontributions | Returns a user's contributions feed. |
| Feedrecentchanges | Returns a recent changes feed. |
| Feedwatchlist | Returns a watchlist feed. |
| Help | Mostra la guida per i moduli specificati. |
| Linkaccount | Collegamento di un'utenza di un provider di terze parti all'utente corrente. |
| Accesso | Log in and get authentication cookies. |
| Logout | Esci e cancella i dati della sessione. |
| Opensearch | Search the wiki using the OpenSearch protocol. |
| Paraminfo | Ottieni informazioni sui moduli API. |
| Parse | Parses content and returns parser output. |
| Query | Fetch data from and about MediaWiki. |
| Removeauthenticationdata | Rimuove i dati di autenticazione per l'utente corrente. |
| Rsd | Export an RSD (Really Simple Discovery) schema. |
| Stashedit | Prepare an edit in shared cache. |
| Tokens | Get tokens for data-modifying actions. |
| Unlinkaccount | Rimuove un'utenza di terze parti collegata all'utente corrente. |
Scrivere i moduli
| Modulo | Funzione |
|---|---|
| Block | Blocca un utente. |
| Clearhasmsg | Clears the hasmsg flag for the current user.
|
| Createaccount | Creare una nuova utenza |
| Delete | Cancella pagina. |
| Edit | Crea e modifica pagine. |
| Emailuser | Invia una email ad un utente. |
| Filerevert | Ripristina un file a una versione precedente. |
| Imagerotate | Ruota una o più immagini. |
| Import | Import a page from another wiki, or from an XML file. |
| Managetags | Perform management tasks relating to change tags. |
| Mergehistory | Merge page histories. |
| Move | Sposta una pagina. |
| Options | Cambia le preferenze dell'utente corrente. |
| Patrol | Verifica o revisiona la pagina |
| Protect | Modifica il livello di protezione di una pagina. |
| Purge | Purge the cache for the given titles. |
| Resetpassword | Invia una mail per reimpostare la password di un utente. |
| Revisiondelete | Cancella e ripristina le versioni. |
| Rollback | Undo the last series of edits to a page by the last user. |
| Setnotificationtimestamp | Update the notification timestamp for watched pages. |
| Tag | Add or remove change tags from individual revisions or log entries. |
| Unblock | Sblocca un utente |
| Undelete | Ripristinare una versione di una pagina cancellata. |
| Upload | Upload a file, or get the status of pending uploads. |
| Userrights | Change a user's group membership. |
| Watch | Aggiunge o rimuove pagine dagli osservati speciali dell'utente attuale. |
Possibili errori
Some wikis restrict the use of these modules to certain groups of users, or disallow it altogether. All aforementioned modules can return the following errors:
| Codice | Info |
|---|---|
| noapiwrite | Editing of this wiki through the API is disabled. |
| writeapidenied | You're not allowed to edit this wiki through the API. |