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=projects (pj)
- This module requires read rights.
- Source: PageAssessments
- License: GPL-2.0-or-later
List all the projects.
Specific parameter:
Other general parameters are available.
- pjsubprojects
Also include subprojects.
- Type: boolean (details)
Examples:
- Get a list of all the projects.
- api.php?action=query&list=projects [open in sandbox]
- Get a list of all the projects and subprojects.
- api.php?action=query&list=projects&pjsubprojects=true [open in sandbox]