Jump to content

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.

参数

  • pwppropnamePage prop for which to enumerate pages. Query for pagepropnames or look at Special:PagesWithProp for available page properties on a wiki. 类型: string
  • pwppropWhat pieces of information to include. (默认值: ids|title)
    • idsAdds the page ID.
    • titleAdds the title and namespace ID of the page.
    • valueAdds the value of the page prop.
  • pwpdirIn which direction to sort. 可能的值: ascending, descending (默认值: ascending)
  • pwpcontinueWhen more results are available, use this to continue.
  • pwplimitThe maximum number of pages to return. 不允许超过500(对于机器人则是5000)。 类型: limit (默认值: 10)