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/Special:MyLanguage/API:Main_page

list=pageswithprop (pwp)

(main | query | pageswithprop)
  • 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:
Other general parameters are available.
pwppropname

Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).

This parameter is required.
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
Default: ids|title
pwpcontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

pwplimit

The maximum number of pages to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
pwpdir

In which direction to sort.

Jedna z následujících hodnot: ascending, descending
Default: ascending