MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de

list=pageswithprop (pwp)

(main | query | pageswithprop)
  • Dieses Modul erfordert Leserechte.
  • Dieses Modul kann als Generator verwendet werden.

List all pages using a given page property.

Parameter:
pwppropname

Page prop for which to enumerate pages.

Dieser Parameter ist erforderlich.
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 prop.
Werte (mit | trennen): ids, title, value
Standard: ids|title
pwpcontinue

When more results are available, use this to continue.

pwplimit

The maximum number of pages to return.

Nicht mehr als 500 (5.000 für Bots) erlaubt.
Standard: 10
pwpdir

In which direction to sort.

Ein Wert: ascending, descending
Standard: ascending
Beispiele:
List the first 10 pages using {{DISPLAYTITLE:}}.
api.php?action=query&list=pageswithprop&pwppropname=displaytitle&pwpprop=ids|title|value
Get page info about first 10 pages using __NOTOC__.
api.php?action=query&generator=pageswithprop&gpwppropname=notoc&prop=info