راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=allusers (au)
- این پودمان نیازمند اختیارات خواندن است.
- منبع: MediaWiki
- مجوز: GPL-2.0-or-later
Enumerate all registered users.
- aufrom
The username to start enumerating from.
- auto
The username to stop enumerating at.
- auprefix
Search for all users that begin with this value.
- audir
جهتی که باید مرتب شود.
- یکی از مقدارهای زیر: ascending, descending
- پیشفرض: ascending
- augroup
Only include users in the given groups. Does not include implicit or auto-promoted groups like *, user, or autoconfirmed.
- مقدارهای (جداشده با | یا جایگزینهای آن): bot, bureaucrat, interface-admin, suppress, sysop
- auexcludegroup
Exclude users in the given groups.
- مقدارهای (جداشده با | یا جایگزینهای آن): bot, bureaucrat, interface-admin, suppress, sysop
- aurights
Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- مقدارهای (جداشده با | یا جایگزینهای آن): apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changeemail, changetags, confirmemail, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, hideuser, import, importupload, interwiki, ipblock-exempt, linkpurge, mailpassword, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, override-export-depth, pagelang, patrol, patrolmarks, protect, purge, read, renameuser, renameuser-global, renderfile, renderfile-nonstandard, replacetext, reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, skipcaptcha, stashbasehtml, stashedit, suppressionlog, suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed
- حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیتهای بالاتر را دارند).
- auprop
Which pieces of information to include:
- blockinfo
- Adds the information about a current block on the user.
- groups
- Lists groups that the user is in. This uses more server resources and may return fewer results than the limit.
- implicitgroups
- Lists all the groups the user is automatically in.
- rights
- فهرست امتیازاتی که کاربر دارد.
- editcount
- شمار ويرایش کاربر را میافزايد
- registration
- زمان ثبت نام کاربر را در صورت وجود میافزايد (ممکن است خالی باشد)
- centralids
- Adds the central IDs and attachment status for the user.
- مقدارهای (جداشده با | یا جایگزینهای آن): blockinfo, centralids, editcount, groups, implicitgroups, registration, rights
- aulimit
تعداد کل نامهای کاربری برای بازگرداندن.
- نوع: عدد صحیح یا max
- The value must be between ۱ and ۵۰۰.
- پیشفرض: 10
- auwitheditsonly
فقط کاربرانی را که ويرایش داشته اند ليست کن
- نوع: بولی (جزئیات)
- auactiveusers
فقط کاربرانی را ليست کن که در 30 روز گذشته فعاليت داشتهاند
- نوع: بولی (جزئیات)
- auattachedwiki
With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.
- auexcludenamed
Exclude users of named accounts.
- نوع: بولی (جزئیات)
- auexcludetemp
Exclude users of temporary accounts.
- نوع: بولی (جزئیات)
- List users starting at Y.
- api.php?action=query&list=allusers&aufrom=Y [باز کردن در صفحهٔ تمرین]