رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=globaluserinfo (gui)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: CentralAuth
- اجازت نامہ: GPL-2.0-or-later
Show information about a global user.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- guiuser
User to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- طرز: صارف، بذریعہ صارف نام، عارضی صارف اور بین الویکی نام (مثلاً "سابقہ>کوئی نام")
- guiid
Global user ID to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- Type: integer
- guiprop
Which properties to get:
- groups
- Get a list of global groups this user belongs to.
- rights
- Get a list of global rights this user has.
- merged
- Get a list of merged accounts.
- unattached
- Get a list of unattached accounts.
- editcount
- Get the user's global edit count.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): editcount، groups، merged، rights، unattached
مثالیں
- Get information about the current global user
- api.php?action=query&meta=globaluserinfo [تختۂ مشق میں کھولیں]
- Get information about global user Example
- api.php?action=query&meta=globaluserinfo&guiuser=Example&guiprop=groups|merged|unattached [تختۂ مشق میں کھولیں]