Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=centralnoticecdncacheupdatebanner
(main | centralnoticecdncacheupdatebanner)
- This module requires read rights.
- This module only accepts POST requests.
- Извор: CentralNotice
- Лиценца: GPL-2.0-or-later
Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language
Специфични параметри:
Other general parameters are available.
- banner
Name of the banner whose content should be purged
- This parameter is required.
- language
Language of the banner content to purge
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Пример:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [open in sandbox]