MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
list=watchlistraw (wr)
- Dieses Modul erfordert Leserechte.
- Dieses Modul kann als Generator verwendet werden.
Get all pages on the current user's watchlist.
Parameter:
- wrcontinue
When more results are available, use this to continue.
- wrnamespace
Only list pages in the given namespaces.
- Werte (mit | trennen): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- wrlimit
How many total results to return per request.
- Nicht mehr als 500 (5.000 für Bots) erlaubt.
- Standard: 10
- wrprop
Which additional properties to get:
- changed
- Adds timestamp of when the user was last notified about the edit.
- Werte (mit | trennen): changed
- wrshow
Only list items that meet these criteria.
- Werte (mit | trennen): changed, !changed
- wrowner
Used along with wrtoken to access a different user's watchlist.
- wrtoken
A security token (available in the user's preferences) to allow access to another user's watchlist.
- wrdir
In which direction to enumerate:
- newer
- List oldest first. Note: wrstart has to be before wrend.
- older
- List newest first (default). Note: wrstart has to be later than wrend.
- Ein Wert: ascending, descending
- Standard: ascending
Beispiele:
- List pages on the current user's watchlist.
- api.php?action=query&list=watchlistraw
- Fetch page info for pages on the current user's watchlist.
- api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info