Jump to content

API:Pageswithprop

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

列出所有符合指定頁面屬性的頁面。

参数

  • pwppropname: 用以列舉頁面的頁面參數。 查詢 pagepropnames 或查看 Special:PagesWithProp,以了解維基上的可用頁面屬性。 类型: string
  • pwpprop: 應包含哪些資訊。 (默认值: ids|title)
    • ids: 加入頁面對應的 ID。
    • title: 加入頁面的標題與命名空間 ID。
    • value: 加入頁面屬性的值。
  • pwpdir: 依哪個方向排序。 可能的值: ascending, descending (默认值: ascending)
  • pwpcontinue: 當有更多結果可用時,請使用此功能繼續。
  • pwplimit: 要回傳的頁面最大數量。 不允许超过500(对于机器人则是5000)。 类型: limit (默认值: 10)