MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=centralnoticechoicedata
(main | centralnoticechoicedata)
- This module requires read rights.
- Kilde: CentralNotice
- Licens: GPL-2.0-or-later
Get data needed to choose a banner for a given project and language
Specific parameters:
Other general parameters are available.
- project
The project to get banner choice data for.
- This parameter is required.
- language
The language to get banner choice data for.
- This parameter is required.
Eksempel:
- Get the data for choosing a banner for English Wikipedia users.
- api.php?action=centralnoticechoicedata&project=wikipedia&language=en [open in sandbox]