رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=authmanagerinfo (ami)
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
Retrieve information about the current authentication status.
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- amisecuritysensitiveoperation
Test whether the user's current authentication status is sufficient for the specified security-sensitive operation.
- amirequestsfor
Fetch information about the authentication requests needed for the specified authentication action.
- ذیل کی قدروں میں سے کوئی ایک: change، create، create-continue، link، link-continue، login، login-continue، remove، unlink
- amimergerequestfields
Merge field information for all authentication requests into one array.
- طرز: بولین (تفصیلات)
- amimessageformat
Format to use for returning messages.
- ذیل کی قدروں میں سے کوئی ایک: html، none، raw، wikitext
- طے شدہ: wikitext
مثالیں
- Fetch the requests that may be used when beginning a login.
- api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [تختۂ مشق میں کھولیں]
- Fetch the requests that may be used when beginning a login, with form fields merged.
- api.php?action=query&meta=authmanagerinfo&amirequestsfor=login&amimergerequestfields=1 [تختۂ مشق میں کھولیں]
- Test whether authentication is sufficient for action foo.
- api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [تختۂ مشق میں کھولیں]