راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: 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.
- مقدارهای (جداشده با | یا جایگزینهای آن): abusefilter، accountcreator، autopatrolled، bot، botadmin، bureaucrat، checkuser، confirmed، eliminator، extendedconfirmed، extendedmover، flow-bot، image-reviewer، import، interface-admin، ipblock-exempt، no-ipinfo، patroller، reviewer، rollbacker، steward، suppress، sysop، templateeditor، transwiki
- auexcludegroup
Exclude users in the given groups.
- مقدارهای (جداشده با | یا جایگزینهای آن): abusefilter، accountcreator، autopatrolled، bot، botadmin، bureaucrat، checkuser، confirmed، eliminator، extendedconfirmed، extendedmover، flow-bot، image-reviewer، import، interface-admin، ipblock-exempt، no-ipinfo، patroller، reviewer، rollbacker، steward، suppress، sysop، templateeditor، transwiki
- aurights
Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
- مقدارهای (جداشده با | یا جایگزینهای آن): abusefilter-access-protected-vars، abusefilter-bypass-blocked-external-domains، abusefilter-hidden-log، abusefilter-hide-log، abusefilter-log، abusefilter-log-detail، abusefilter-log-private، abusefilter-modify، abusefilter-modify-blocked-external-domains، abusefilter-modify-global، abusefilter-modify-restricted، abusefilter-privatedetails، abusefilter-privatedetails-log، abusefilter-revert، abusefilter-view، abusefilter-view-private، apihighlimits، applychangetags، autoconfirmed، autocreateaccount، autopatrol، autoreview، autoreviewrestore، badcaptcha، badoath، bigdelete، block، blockemail، bot، browsearchive، centralauth-createlocal، centralauth-lock، centralauth-merge، centralauth-rename، centralauth-suppress، centralauth-unmerge، changeemail، changetags، checkuser، checkuser-log، checkuser-temporary-account، checkuser-temporary-account-log، checkuser-temporary-account-no-preference، collectionsaveascommunitypage، collectionsaveasuserpage، confirmemail، createaccount، createpage، createtalk، delete، delete-redirect، deletechangetags، deletedhistory، deletedtext، deletelogentry، deleterevision، echo-create، edit، editautopatrolprotected، editautoreviewprotected، editcontentmodel، editeditorprotected، editextendedsemiprotected، editinterface، editmyoptions، editmyprivateinfo، editmyusercss، editmyuserjs، editmyuserjson، editmyuserjsredirect، editmywatchlist، editprotected، editsemiprotected، editsitecss، editsitejs، editsitejson، edittrustedprotected، editusercss، edituserjs، edituserjson، enrollasmentor، extendedconfirmed، flow-create-board، flow-delete، flow-edit-post، flow-edit-title، flow-hide، flow-lock، flow-suppress، globalblock، globalblock-exempt، globalblock-whitelist، globalgroupmembership، globalgrouppermissions، growthexperiments-apiqueryimagesuggestiondata، growthexperimentsuserimpacthandler، growthmentordashboardupdatedata، hideuser، import، importupload، ipblock-exempt، ipinfo، ipinfo-view-basic، ipinfo-view-full، ipinfo-view-log، linkpurge، mailpassword، manage-all-push-subscriptions، managechangetags، managementors، markbotedits، massmessage، mergehistory، minoredit، move، move-categorypages، move-rootuserpages، move-subpages، movefile، movestable، mwoauthmanageconsumer، mwoauthmanagemygrants، mwoauthproposeconsumer، mwoauthsuppress، mwoauthupdateownconsumer، mwoauthviewprivate، mwoauthviewsuppressed، newsletter-create، newsletter-delete، newsletter-manage، newsletter-restore، nominornewtalk، noratelimit، nuke، oathauth-api-all، oathauth-disable-for-user، oathauth-enable، oathauth-verify-user، oathauth-view-log، override-antispoof، override-export-depth، pagelang، patrol، patrolmarks، protect، purge، read، renameuser، renderfile، renderfile-nonstandard، reupload، reupload-own، reupload-shared، review، rollback، sboverride، securepoll-create-poll، securepoll-view-voter-pii، sendemail، setmentor، sfsblock-bypass، siteadmin، skipcaptcha، spamblacklistlog، stablesettings، stashbasehtml، stashedit، suppressionlog، suppressredirect، suppressrevision، tboverride، tboverride-account، templateeditor، thanks-notification، titleblacklistlog، torunblocked، transcode-reset، transcode-status، unblockself، undelete، unreviewedpages، unwatchedpages، upload، upload_by_url، urlshortcode، urlshortener-create-url، urlshortener-manage-url، urlshortener-view-log، userrights، userrights-interwiki، validate، viewdeletedfile، viewmyprivateinfo، viewmywatchlist، viewsuppressed، vipsscaler-test، writeapi
- حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیتهای بالاتر را دارند).
- 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.
- List users starting at Y.
- api.php?action=query&list=allusers&aufrom=Y [باز کردن در صفحهٔ تمرین]