MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=stabilize
(main | stabilize)
- Questo modulo richiede i diritti di lettura.
- Questo modulo richiede i diritti di scrittura.
- Questo modulo accetta solo richieste POST.
- Fonte: Flagged Revisions
- Licenza: GPL-2.0-or-later
Change page stability settings.
Parametri:
- default
Default revision to show.
- Questo parametro è obbligatorio.
- Uno dei seguenti valori: latest, stable
- autoreview
Auto-review restriction.
- Uno dei seguenti valori: sysop, none
- Predefinito: none
- expiry
Expiry for these settings.
- Predefinito: infinite
- reason
Reason.
- Predefinito: (vuoto)
- review
Review this page.
- Tipo: booleano (dettagli)
- watch
Watch this page.
- token
Un token "csrf" recuperato da action=query&meta=tokens
- Questo parametro è obbligatorio.
- title
Title of the page to be stabilized.
- Questo parametro è obbligatorio.
Esempio:
- Set Test to display the stable revision by default
- api.php?action=stabilize&title=Test&default=stable&reason=Test&token=123ABC [apri in una sandbox]