راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده‌است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=watchlistraw (wr)

(main | query | watchlistraw)
  • این پودمان نیازمند اختیارات خواندن است.
  • This module can be used as a generator.
  • منبع: MediaWiki
  • مجوز: GPL-2.0-or-later

Get all pages on the current user's watchlist.

پارامترها:
wrcontinue

When more results are available, use this to continue.

wrnamespace

Only list pages in the given namespaces.

مقدارهای (جداشده با | یا جایگزین‌های آن): 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 100، 101، 102، 103
برای تعیین همهٔ مقدارها از * استفاده کنید.
wrlimit

How many total results to return per request.

نوع: عدد صحیح یا max
The value must be between ۱ and ۵۰۰.
پیش‌فرض: 10
wrprop

Which additional properties to get:

changed
Adds timestamp of when the user was last notified about the edit.
مقدارهای (جداشده با | یا جایگزین‌های آن): changed
wrshow

Only list items that meet these criteria.

مقدارهای (جداشده با | یا جایگزین‌های آن): !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

The direction in which to list.

یکی از مقدارهای زیر: ascending، descending
پیش‌فرض: ascending
wrfromtitle

Title (with namespace prefix) to begin enumerating from.

wrtotitle

Title (with namespace prefix) to stop enumerating at.