עזרה של MediaWiki API

זהו דף תיעוד של API שנוצר באופן אוטומטי.

תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API

action=feedwatchlist

(main | feedwatchlist)
  • יחידה זו דורשת הרשאות קריאה.

Returns a watchlist feed.

פרמטרים:
feedformat

The format of the feed.

ערך אחד: rss, atom
ברירת מחדל: rss
hours

List pages modified within this many hours from now.

הערך חייב להיות בין 1 ל־72.
ברירת מחדל: 24
linktosections

Link directly to changed sections if possible.

allrev

Include multiple revisions of the same page within given timeframe.

wlowner

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

wltoken

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

wlshow

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

ערכים (מופרדים באמצעות "|"): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
external
External changes.
new
Page creations.
log
Log entries.
ערכים (מופרדים באמצעות "|"): edit, external, new, log
ברירת מחדל: edit|new|log
wlexcludeuser

Don't list changes by this user.

דוגמאות:
Show the watchlist feed.
api.php?action=feedwatchlist
Show all changes to watched pages in the past 6 hours.
api.php?action=feedwatchlist&allrev=&hours=6