راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=deletedrevs (dr)
- This module is deprecated.
- این پودمان نیازمند اختیارات خواندن است.
- منبع: MediaWiki
- مجوز: GPL-2.0-or-later
List deleted revisions.
Operates in three modes:
- List deleted revisions for the given titles, sorted by timestamp.
- List deleted contributions for the given user, sorted by timestamp (no titles specified).
- List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).
Certain parameters only apply to some modes and are ignored in others.
- drstart
- The timestamp to start enumerating from. 
- Modes: 1، 2
- نوع: برچسب زمان (قالبهای مجاز)
- drend
- The timestamp to stop enumerating at. 
- Modes: 1، 2
- نوع: برچسب زمان (قالبهای مجاز)
- drdir
- In which direction to enumerate: - newer
- List oldest first. Note: drstart has to be before drend.
- older
- List newest first (default). Note: drstart has to be later than drend.
 
- Modes: 1، 3
- یکی از مقدارهای زیر: newer، older
- پیشفرض: older
- drfrom
- شروع فهرست کردن مواردی که این عنوان را دارند. 
- Mode: 3
- drto
- خاتمه فهرست کردن مواردی که این عنوان را دارند. 
- Mode: 3
- drprefix
- Search for all page titles that begin with this value. 
- Mode: 3
- drunique
- List only one revision for each page. 
- Mode: 3
- نوع: بولی (جزئیات)
- drnamespace
- فقط صفحهها در این فضای نام را فهرست کن. 
- Mode: 3
- یکی از مقدارهای زیر: 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15
- پیشفرض: 0
- drtag
- Only list revisions tagged with this tag. 
- druser
- Only list revisions by this user. 
- نوع: کاربر، توسط هریک از نام کاربری، آیپی، حساب کاربری موقت، نام میانویکی (یعنی «پیشوند>ناممثال») و شناسهٔ کاربر (مثلاً «#12345»)
- drexcludeuser
- Don't list revisions by this user. 
- نوع: کاربر، توسط هریک از نام کاربری، آیپی، حساب کاربری موقت، نام میانویکی (یعنی «پیشوند>ناممثال») و شناسهٔ کاربر (مثلاً «#12345»)
- drprop
- ویژگیها برای دریافت: - revid
- شناسهٔ نسخه برای نسخهٔ حذفشده را اضافه میکند.
- parentid
- شاسهٔ نسخه برای نسخهٔ پیشین صفحه را اضافه میکند.
- user
- کاربر اعمالکنندهٔ نسخه را اضافه میکند.
- userid
- شناسهٔ کاربری کاربر اعمالکنندهٔ نسخه را اضافه میکند.
- comment
- خلاصهٔ نسخه را اضافه میکند.
- parsedcomment
- خلاصهٔ تجزیهشدهٔ نسخه را اضافه میکند.
- minor
- در صورت جزئی بودن نسخه، برچسب میزند.
- len
- طول نسخه (به بایت) را اضافه میکند.
- sha1
- SHA-1 (بیس ۱۶) نسخه را اضافه میکند.
- content
- محتوای نسخه را اضافه میکند.
- token
- منسوخشده. بلیط ویرایش را برمیگرداند.
- tags
- برچسبهای نسخه.
- revid
- Adds the revision ID of the deleted revision.
- parentid
- Adds the revision ID of the previous revision to the page.
- user
- Adds the user who made the revision.
- userid
- Adds the ID of the user who made the revision.
- comment
- Adds the comment of the revision.
- parsedcomment
- Adds the parsed comment of the revision.
- minor
- Tags if the revision is minor.
- len
- Adds the length (bytes) of the revision.
- sha1
- Adds the SHA-1 (base 16) of the revision.
- content
- Adds the content of the revision. For performance reasons, if this option is used, drlimit is enforced to 50.
- token
- منسوخشده. Gives the edit token.
- tags
- Tags for the revision.
 
- مقدارهای (جداشده با | یا جایگزینهای آن): comment، content، len، minor، parentid، parsedcomment، revid، sha1، tags، user، userid، token
- پیشفرض: user|comment
- drlimit
- حداکثر تعداد بازنگریهايي که فهرست شوند. 
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۵۰۰.
- پیشفرض: 10
- drcontinue
- When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org. 
- List the last deleted revisions of the pages صفحهٔ اصلی and Talk:Main Page, with content (mode 1).
- api.php?action=query&list=deletedrevs&titles=%D8%B5%D9%81%D8%AD%D9%87%D9%94%20%D8%A7%D8%B5%D9%84%DB%8C|%D8%A8%D8%AD%D8%AB%3A%D8%B5%D9%81%D8%AD%D9%87%D9%94%20%D8%A7%D8%B5%D9%84%DB%8C&drprop=user|comment|content [باز کردن در صفحهٔ تمرین]
- List the last 50 deleted contributions by Bob (mode 2).
- api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [باز کردن در صفحهٔ تمرین]
- List the first 50 deleted revisions in the main namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [باز کردن در صفحهٔ تمرین]
- List the first 50 deleted pages in the بحث namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [باز کردن در صفحهٔ تمرین]