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
list=wikiconfig (wcf)
- This module requires read rights.
- Source: ManageWiki
- License: GPL-3.0-or-later
View sitename, inactive, inactive-exempt, closed, private, extensions, settings and permissions for the specified wiki.
Specific parameters:
Other general parameters are available.
- wcfprop
Select properties to return:
- sitename
- View the sitename of the wiki
- inactive
- Check if the wiki is marked as inactive
- inactive-exempt
- Check if the wiki is exempt from inactivity
- closed
- Check if the wiki is marked as closed
- private
- Check if the wiki is marked as private
- extensions
- View which extensions are enabled on the wiki
- settings
- View the settings of the wiki
- permissions
- View the permissions of these user groups
- Values (separate with | or alternative): closed, extensions, inactive, inactive-exempt, permissions, private, settings, sitename
- Default: sitename|extensions|settings
- wcfwikis
Which wikis to check.
- This parameter is required.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Example:
- View wiki config for metawiki.
- api.php?action=query&list=wikiconfig&wcfwikis=metawiki [open in sandbox]