راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

🎯 با BingX تجارت ارز دیجیتال را آغاز کنید

با استفاده از لینک دعوت ما ثبت‌نام کنید و تا ۶۸۰۰ USDT پاداش خوش‌آمدگویی دریافت کنید.

✅ خرید و فروش بدون ریسک
✅ کوپن‌ها، کش‌بک و مرکز پاداش
✅ پشتیبانی از کارت‌های بانکی و پرداخت جهانی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده‌است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=createaccount (create)

(main | createaccount)
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: MediaWiki
  • مجوز: GPL-2.0-or-later

ایجاد یک حساب تازه کاربری

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=create, and a createaccount token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying createreturnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with createcontinue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to createreturnurl. Then post to this module with createcontinue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.
پارامترها:
createrequests

Only use these authentication requests, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=create or from a previous response from this module.

Separate values with | or alternative.
حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیت‌های بالاتر را دارند).
createmessageformat

Format to use for returning messages.

یکی از مقدارهای زیر: html، none، raw، wikitext
پیش‌فرض: wikitext
createmergerequestfields

Merge field information for all authentication requests into one array.

نوع: بولی (جزئیات)
createpreservestate

Preserve state from a previous failed login attempt, if possible.

If action=query&meta=authmanagerinfo returned true for hasprimarypreservedstate, requests marked as primary-required should be omitted. If it returned a non-empty value for preservedusername, that username must be used for the username parameter.

نوع: بولی (جزئیات)
createreturnurl

Return URL for third-party authentication flows, must be absolute. Either this or createcontinue is required.

Upon receiving a REDIRECT response, you will typically open a browser or web view to the specified redirecttarget URL for a third-party authentication flow. When that completes, the third party will send the browser or web view to this URL. You should extract any query or POST parameters from the URL and pass them as a createcontinue request to this API module.

createcontinue

This request is a continuation after an earlier UI or REDIRECT response. Either this or createreturnurl is required.

نوع: بولی (جزئیات)
createtoken

یک بلیط «createaccount» واکشی‌شده از action=query&meta=tokens

این پارامتر الزامی است.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=create (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.

🎁 فرصت دریافت پاداش بیشتر با BingX

در BingX ثبت‌نام کنید و با امکانات ویژه‌ای مانند کپی ترید، معاملات اهرمی و ابزارهای حرفه‌ای کسب سود کنید.

✅ تا ۴۵٪ کمیسیون دعوت
✅ رابط کاربری فارسی‌پسند
✅ امکان تجارت سریع و آسان برای کاربران ایرانی

🤖 ربات تلگرام رایگان سیگنال ارز دیجیتال @refobibobot

با @refobibobot روزانه سیگنال‌های رایگان برای بیت‌کوین و آلت‌کوین‌ها دریافت کنید.

✅ ۱۰۰٪ رایگان، بدون نیاز به ثبت‌نام
✅ سیگنال‌های لحظه‌ای برای تریدرهای ایرانی
✅ مناسب برای تازه‌کاران و حرفه‌ای‌ها

📈 Premium Crypto Signals – 100% Free

🚀 Get trading signals from high-ticket private channels of experienced traders — absolutely free.

✅ No fees, no subscriptions, no spam — just register via our BingX partner link.

🔓 No KYC required unless you deposit over 50,000 USDT.

💡 Why is it free? Because when you earn, we earn. You become our referral — your profit is our motivation.

🎯 Winrate: 70.59% — real results from real trades.

We’re not selling signals — we’re helping you win.

Join @refobibobot on Telegram