Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentaÄnà stránka k MediaWiki API.
Dokumentace a pÅÃklady: https://www.mediawiki.org/wiki/API
list=pageswithprop (pwp)
- Tento modul vyžaduje oprávnÄnà ke ÄtenÃ.
- Tento modul lze využÃvat jako generátor.
- Zdroj: MediaWiki
- Licence: GPL-2.0-or-later
List all pages using a given page property.
Parametry:
- pwppropname
Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).
- Tento parametr je povinný.
- pwpprop
Which pieces of information to include:
- ids
- Adds the page ID.
- title
- Adds the title and namespace ID of the page.
- value
- Adds the value of the page property.
- Hodnoty (oddÄlené | nebo alternativou.): ids, title, value
- Implicitnà hodnota: ids|title
- pwpcontinue
When more results are available, use this to continue.
- pwplimit
The maximum number of pages to return.
- Nenà dovoleno vÃce než 500 (5 000 pro boty).
- Type: integer or max
- Implicitnà hodnota: 10
- pwpdir
In which direction to sort.
- Jedna z následujÃcÃch hodnot: ascending, descending
- Implicitnà hodnota: ascending
PÅÃklady:
- List the first 10 pages using
{{DISPLAYTITLE:}}. - api.php?action=query&list=pageswithprop&pwppropname=displaytitle&pwpprop=ids|title|value [otevÅÃt v pÃskoviÅ¡ti]
- Get additional information about the first 10 pages using
__NOTOC__. - api.php?action=query&generator=pageswithprop&gpwppropname=notoc&prop=info [otevÅÃt v pÃskoviÅ¡ti]