API:Pageswithprop/zh
Appearance
| 本页是MediaWiki Action API帮助文档的一部分。 |
| Pageswithprop | ||
|---|---|---|
此模块可以用作生成器。 | ||
| 前缀 | pwp | |
| 需要的权限 | 无 | |
| 仅限Post? | 否 | |
| 产生帮助 | 当前 | |
| 添加的版本 |
| |
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. 类型: stringpwpprop: 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)