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

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

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

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

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

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

action=expandtemplates

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

گسترش همه الگوها در ویکی نبشته

پارامترها:
title

عنوان صفحه

text

تبدیل برای ویکی‌متن.

این پارامتر الزامی است.
revid

Revision ID, for {{REVISIONID}} and similar variables.

نوع: عدد صحیح
prop

Which pieces of information to get.

Note that if no values are selected, the result will contain the wikitext, but the output will be in a deprecated format.

wikitext
ویکی‌متن گسترش‌یافته.
categories
Any categories present in the input that are not represented in the wikitext output.
properties
Page properties defined by expanded magic words in the wikitext.
volatile
Whether the output is volatile and should not be reused elsewhere within the page.
ttl
The maximum time after which caches of the result should be invalidated.
modules
Any ResourceLoader modules that parser functions have requested be added to the output. Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.
jsconfigvars
Gives the JavaScript configuration variables specific to the page.
encodedjsconfigvars
Gives the JavaScript configuration variables specific to the page as a JSON string.
parsetree
The XML parse tree of the input.
مقدارهای (جداشده با | یا جایگزین‌های آن): categories، encodedjsconfigvars، jsconfigvars، modules، parsetree، properties، ttl، volatile، wikitext
includecomments

Whether to include HTML comments in the output.

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

Whether to include internal merge strategy information in jsconfigvars.

نوع: بولی (جزئیات)
generatexml
منسوخ‌شده.

Generate XML parse tree (replaced by prop=parsetree).

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

🎁 فرصت دریافت پاداش بیشتر با 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