API:Pageswithprop
Jump to navigation
Jump to search
| This page is part of the MediaWiki action API documentation. |
MediaWiki action API
- Introduction and quick start
- FAQ
- Formats
- Error reporting
- Restricting usage
- Cross-site requests
- Authentication
- Queries
- Searching (by title, content, coordinates...)
- Parsing wikitext and expanding templates
- Purging pages' caches
- Parameter information
- Changing wiki content
- Create and edit pages
- Move pages
- Merge pages
- Rollback
- Delete pages
- Restore deleted revisions
- (Un)protect pages
- (Un)block users
- (Un)watch pages
- Mark revisions of watched pages as visited
- Send email
- Patrol changes
- Import pages
- Change user group membership
- Upload files
- User options
- Tokens
- Page language
- More...
- Watchlist feed
- Wikidata
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
- Asserting
| Pageswithprop | ||
|---|---|---|
This module can be used as a Generator. |
||
| Prefix | pwp | |
| Required rights | none | |
| Post only? | No | |
| Generated help | Current | |
| Version added |
|
|
List all pages using a given page property.
Parameters[edit]
pwppropname: Page prop for which to enumerate pages. Query for pagepropnames or look at Special:PagesWithProp for available page properties on a wiki. Type: stringpwpprop: What pieces of information to include. (Default:ids|title)ids: Adds the page IDtitle: Adds the title and namespace ID of the pagevalue: Adds the value of the page prop
pwpdir: In which direction to sort. Possible values:ascending,descending. (Default:ascending)pwpcontinue: When more results are available, use this to continue.pwplimit: The maximum number of pages to return. No more than 500 (5000 for bots) allowed. Type: limit (Default: 10)