مساعدة API ميدياويكي

هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.

وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=discussiontoolsedit

(main | discussiontoolsedit)
  • هذه الوحدة تتطلب صلاحيات القراءة.
  • هذه الوحدة تتطلب صلاحيات الكتابة.
  • هذه الوحدة تقبل طلبات POST فقط.
  • المصدر:أدوات النقاش
  • الترخيص: MIT

نشر رسالة على صفحة نقاش.

وسائط:
Other general parameters are available.
paction

الفعل للعمل.

addcomment
أضف تعليقاً جديداً للردِّ على تعليقٍ سابقٍ.
addtopic
تضيف قسما لنقاش جديد والتعليق الأوّل فيه.
هذه المعلمة مطلوبة.
إحدى القيم التالية: addcomment، addtopic
autosubscribe

الاشتراك الآلي للمستخدم في خيط صفحة النقاش؟

إحدى القيم التالية: default، no، yes
الافتراضي: default
page

الصفحة لتنفيذ الأفعال عليها.

هذه المعلمة مطلوبة.
token

تم استرداد رمز مميز "csrf" من action=query&meta=tokens

هذه المعلمة مطلوبة.
formtoken

An optional unique ID generated in the client to prevent double-posting.

لا يمكن أن يكون أطول من 16 أحرف.
commentname

اسم التعليق المُراد الردّ عليه. يستعمل فقط حين يكون paction هو addcomment.

commentid

معرّف التعليق المراد الردّ عليه. يُستعمل فقط حين يكون paction هو addcomment. يعيد كتابة المُتغيِّر commentname.

wikitext

محتوى للنشر بصيغة نص ويكي. لا يمكن استخدامه مع html.

html

محتوى للنشر بصيغة HTML. لا يُمكِن استخدامه مع wikitext.

summary

ملخص التعديل.

sectiontitle

عنوان القسم الجديد عند استخدام قسم $1 = جديد . تستخدم فقط حين يكون paction هو addtopic.

allownosectiontitle

السماح بنشر قسم جديد بدون عنوان.

Type: boolean (details)
useskin

تطبيق المظهر المحدد لإخراج المحلل اللغوي، قد يؤثر على الخصائص التالية: langlinks ،headitems ،modules ،jsconfigvars ،indicators.

إحدى القيم التالية: apioutput، cologneblue، fallback، minerva، modern، monobook، timeless، vector، vector-2022
watchlist

أضف الصفحة أو أزلها دون قيد أو شرط من قائمة مراقبة المستخدم الحالي ، أو استخدم التفضيلات (التي تم تجاهلها لمستخدمي الروبوت) أو لا تغير الساعة.

captchaid

CAPTCHA ID (عندما تحفظ مع استجابة CAPTCHA).

captchaword

الإجابة على اختبار CAPTCHA (عندما الادخار مع استجابة CAPTCHA).

nocontent

Omit the HTML content of the new revision in the response.

tags

قم بتغيير العلامات لتطبيقها على التعديل.

قيم منفصلة بـ| أو بديل.
الحد الأقصى لعدد القيم هو 50 ( 500 للعملاء المسموح لهم بحدود أعلى).
returnto

Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.

النوع: عنوان صفحة
يقبل الصفحات غير الموجودة.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

الافتراضي: (فارغ)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

الافتراضي: (فارغ)
mobileformat

أرجع خرج محلل بصيغة مناسبة للأجهزة المحمولة.

Type: boolean (details)