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

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

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

action=discussiontoolspreview

(main | discussiontoolspreview)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: Discussion tools
  • مجوز: MIT

پیش‌نمایش یک پیام در یک صفحهٔ گفتگو

پارامترها:
Other general parameters are available.
type

Type of message to preview

reply
افزودن یک نظر تازه به‌عنوان پاسخی به یک نظر از پیش موجود.
topic
افزودن یک بخش گفتگوی تازه و نخستین نظر در آن.
این پارامتر الزامی است.
یکی از مقدارهای زیر: reply، topic
page

صفحه برای انجام‌دادن عمل‌ها بر روی آن.

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

Content to preview, as wikitext.

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

عنوان برای بخش جدید.

useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

یکی از مقدارهای زیر: apioutput، cologneblue، fallback، minerva، modern، monobook، timeless، vector، vector-2022
mobileformat

Return parse output in a format suitable for mobile devices.

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