MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=pageswithprop (pwp)

(main | query | pageswithprop)
  • Denne modulen krever lesetilgang.
  • Denne modulen kan brukes som en generator.
  • Source: MediaWiki
  • License: GPL-2.0+

List all pages using a given page property.

Parametre:
pwppropname

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

Denne parameteren er påkrevd.
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.
Values (separate with | or alternative): ids, title, value
Default: ids|title
pwpcontinue

When more results are available, use this to continue.

pwplimit

The maximum number of pages to return.

No more than 500 (5 000 for bots) allowed.
Type: integer or max
Default: 10
pwpdir

In which direction to sort.

One of the following values: ascending, descending
Default: ascending