MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=centralnoticecdncacheupdatebanner
(main | centralnoticecdncacheupdatebanner)
- Ez a modul olvasási jogot igényel.
- Ez a modul csak POST kéréseket fogad el.
- Forrás: CentralNotice
- Licenc: 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
Jellemző paraméterek:
Other general parameters are available.
Name of the banner whose content should be purged
- Ez a paraméter kötelező.
Language of the banner content to purge
- Ez a paraméter kötelező.
Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.
Példa:
- Purge the content of 'Banner1' from CDN cache, for English
- api.php?action=centralnoticecdncacheupdatebanner&token=ABC123&banner=Banner1&language=en [megnyitás a homokozóban]