Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=centralnoticecdncacheupdatebanner

(main | centralnoticecdncacheupdatebanner)
  • Этот модуль требует прав на чтение.
  • Этот модуль принимает только POST-запросы.
  • Источник: 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

Это обязательный параметр.
language

Language of the banner content to purge

Это обязательный параметр.
token

Токен «csrf», полученный из action=query&meta=tokens

Это обязательный параметр.