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=watchlistraw (wr)

(main | query | watchlistraw)
  • 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

Získat všechny stránky, které jsou aktuálním uživatelem sledovány.

Parametry:
wrcontinue

When more results are available, use this to continue.

wrnamespace

Only list pages in the given namespaces.

Hodnoty (oddělené | nebo alternativou.): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
To specify all values, use *.
wrlimit

How many total results to return per request.

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

Which additional properties to get:

changed
Adds timestamp of when the user was last notified about the edit.
Hodnoty (oddělené | nebo alternativou.): changed
wrshow

Only list items that meet these criteria.

Hodnoty (oddělené | nebo alternativou.): !changed, changed
wrowner

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

Typ: uživatel, uvedený jako uživatelské jméno
wrtoken

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

wrdir

The direction in which to list.

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

Title (with namespace prefix) to begin enumerating from.

wrtotitle

Title (with namespace prefix) to stop enumerating at.

Příklady:
Seznam sledovaných stránek uživatele.
api.php?action=query&list=watchlistraw [otevřít v pískovišti]
Fetch page info for pages on the current user's watchlist.
api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info [otevřít v pískovišti]