Jump to content

API:Pageswithprop

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

List all pages using a given page property.

Parameters

  • pwppropname: Page prop for which to enumerate pages. Query for pagepropnames or look at Special:PagesWithProp for available page properties on a wiki. Type: string
  • pwpprop: What pieces of information to include. (Default: ids|title)
    • ids: Adds the page ID.
    • title: Adds the title and namespace ID of the page.
    • value: Adds the value of the page prop.
  • pwpdir: In which direction to sort. Possible values: ascending, descending (Default: ascending)
  • pwpcontinue: When more results are available, use this to continue.
  • pwplimit: The maximum number of pages to return. No more than 500 (5000 for bots) allowed. Type: limit (Default: 10)