API:Pageswithprop/zh

From mediawiki.org
This page is a translated version of the page API:Pageswithprop and the translation is 8% complete.

List all pages using a given page property.

参数

  • pwppropname: Page prop for which to enumerate pages. Query for pagepropnames or look at Special:PagesWithProp for available page properties on a wiki. 类型: string
  • pwpprop: What pieces of information to include. (默认值: 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. 可能的值: ascending, descending (默认值: ascending)
  • pwpcontinue: When more results are available, use this to continue.
  • pwplimit: The maximum number of pages to return. 不允许超过500(对于机器人则是5000)。 类型: limit (默认值: 10)