رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=massmessage

(main | massmessage)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • اس ماڈیول کو اختیارات تحریر درکار ہیں۔
  • یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
  • ماخذ: MassMessage
  • اجازت نامہ: GPL-2.0-or-later

صفحات کی مکمل فہرست کو پیغام روانہ کرتا ہے۔

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
spamlist

پیغام روانہ کرنے کے لیے فہرست صفحات پر مشتمل صفحہ۔

یہ پیرامیٹر لازمی ہے۔
subject

پیغام کے عنوان کی سطر۔

یہ پیرامیٹر لازمی ہے۔
message

پیغام کا متن۔

page-message

Page to be sent along with the message body.

token

A "csrf" token retrieved from action=query&meta=tokens

یہ پیرامیٹر لازمی ہے۔
مثالیں
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&token=TOKEN [تختۂ مشق میں کھولیں]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and the message as the content of the page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&page-message=Help_Page&token=TOKEN [تختۂ مشق میں کھولیں]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it" appended with the content from page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&page-message=Help_Page&token=TOKEN [تختۂ مشق میں کھولیں]