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=projectpages (wpp)

(main | query | projectpages)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: PageAssessments
  • License: GPL-2.0-or-later

List all pages associated with one or more projects.

Parameters:
wppassessments

Also return assessments for the pages returned.

Type: boolean (details)
wppprojects

The projects to list pages for. If this parameter is omitted, all projects will be included.

This parameter is required.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients allowed higher limits).
wpplimit

The maximum number of pages to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
wppcontinue

When more results are available, use this to continue.

Examples:
Get first 10 pages associated with WikiProject Medicine or WikiProject Anatomy.
api.php?action=query&list=projectpages&wppprojects=Medicine|Anatomy [open in sandbox]
Get first 10 pages associated with WikiProject Medicine, including assessment data.
api.php?action=query&list=projectpages&wppprojects=Medicine&wppassessments=true [open in sandbox]
Get page info for first 10 pages associated with WikiProject Textile Arts.
api.php?action=query&generator=projectpages&prop=info&gwppprojects=Textile%20Arts [open in sandbox]