API:Pageswithprop

From MediaWiki.org
Jump to: navigation, search
This page is part of the MediaWiki action API documentation.

MediaWiki action API

v · d · e

List all pages using a given page property.

Parameters[edit]

  • 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)