MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=watchlistraw (wr)

(main | query | watchlistraw)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Get all pages on the current user's watchlist.

Specific parameters:
Other general parameters are available.
wrcontinue

Kui saadaval on rohkem tulemusi, kasuta seda jätkamiseks. Täpsema teabe päringute jätkamise kohta leiad mediawiki.org-ist

wrnamespace

Loetle ainult leheküljed nendes nimeruumides.

Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
wrlimit

Kui palju tulemusi päringu kohta kokku tagastada.

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

Millised lisaatribuudid hankida:

changed
Adds timestamp of when the user was last notified about the edit.
Values (separate with | or alternative): changed
wrshow

Loetle ainult üksused, mis vastavad neile kriteeriumitele.

Values (separate with | or alternative): !changed, changed
wrowner

Used along with wrtoken to access a different user's watchlist.

Tüüp: kasutaja, määramisviis: kasutajanimi
wrtoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wrdir

Järjestuse suund.

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

Pealkiri (nimeruumi eesliitega), millest alates loetleda.

wrtotitle

Pealkiri (nimeruumi eesliitega), milleni loetleda.

Examples:
List pages on the current user's watchlist.
api.php?action=query&list=watchlistraw [open in sandbox]
Fetch page info for pages on the current user's watchlist.
api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info [open in sandbox]