API:Pageswithprop/zh

Category:MediaWiki action API/zh Category:MediaWiki API generators/zh

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)
Category:MediaWiki API query lists/zh
Category:MediaWiki API generators/zh Category:MediaWiki API query lists/zh Category:MediaWiki action API/zh