MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

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

list=watchlist (wl)

(main | query | watchlist)
  • Dieses Modul erfordert Leserechte.
  • Dieses Modul kann als Generator verwendet werden.
  • Quelle: MediaWiki
  • Lizenz: GPL-2.0+

Get recent changes to pages in the current user's watchlist.

Parameter:
wlallrev

Include multiple revisions of the same page within given timeframe.

Typ: boolisch (Einzelheiten)
wlstart

The timestamp to start enumerating from.

Typ: Zeitstempel (erlaubte Formate)
wlend

The timestamp to end enumerating.

Typ: Zeitstempel (erlaubte Formate)
wlnamespace

Filter changes to only the given namespaces.

Werte (mit | trennen): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
wluser

Only list changes by this user.

Typ: Benutzername
wlexcludeuser

Don't list changes by this user.

Typ: Benutzername
wldir

In which direction to enumerate:

newer
List oldest first. Note: wlstart has to be before wlend.
older
List newest first (default). Note: wlstart has to be later than wlend.
Einer der folgenden Werte: newer, older
Standard: older
wllimit

How many total results to return per request.

Nicht mehr als 500 (5.000 für Bots) erlaubt.
Typ: Ganzzahl oder max
Standard: 10
wlprop

Zusätzlich zurückzugebende Eigenschaften:

ids
Adds revision IDs and page IDs.
title
Adds title of the page.
flags
Adds flags for the edit.
user
Ergänzt den Benutzer, der die Bearbeitung ausgeführt hat.
userid
Ergänzt die Kennung des Benutzers, der die Bearbeitung ausgeführt hat.
comment
Ergänzt den Kommentar der Bearbeitung.
parsedcomment
Adds parsed comment of the edit.
timestamp
Ergänzt den Zeitstempel der Bearbeitung.
patrol
Tags edits that are patrolled.
sizes
Ergänzt die alten und neuen Längen der Seite.
notificationtimestamp
Adds timestamp of when the user was last notified about the edit.
loginfo
Adds log information where appropriate.
Werte (mit | trennen): ids, title, flags, user, userid, comment, parsedcomment, timestamp, patrol, sizes, notificationtimestamp, loginfo
Standard: ids|title|flags
wlshow

Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.

Werte (mit | trennen): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Seitenerstellungen.
log
Logbucheinträge.
external
External changes.
categorize
Category membership changes.
Werte (mit | trennen): edit, new, log, external, categorize
Standard: edit|new|log|categorize
wlowner

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

Typ: Benutzername
wltoken

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

wlcontinue

Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden.

Beispiele:
List the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist [in Spielwiese öffnen]
Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [in Spielwiese öffnen]
Fetch information about all recent changes to pages on the current user's watchlist.
api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [in Spielwiese öffnen]
Fetch page info for recently changed pages on the current user's watchlist.
api.php?action=query&generator=watchlist&prop=info [in Spielwiese öffnen]
Fetch revision info for recent changes to pages on the current user's watchlist.
api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [in Spielwiese öffnen]
List the top revision for recently changed pages on the watchlist of user Example.
api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [in Spielwiese öffnen]