رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=editmassmessagelist
(main | editmassmessagelist)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو اختیارات تحریر درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: MassMessage
- اجازت نامہ: GPL-2.0-or-later
اجتماعی پیغام رسانی کی فہرست میں ترمیم کرتا ہے۔
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- spamlist
تجدید کے لیے وصولی فہرست کا عنوان۔
- یہ پیرامیٹر لازمی ہے۔
- description
New description for the delivery list.
- add
فہرست میں درج کرنے کے لیے عناوین۔
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- remove
فہرست سے حذف کرنے کے لیے عناوین۔
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- minor
Whether the edit should be marked as minor in the history of the list.
- طرز: بولین (تفصیلات)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- ذیل کی قدروں میں سے کوئی ایک: nochange، preferences، unwatch، watch
- طے شدہ: preferences
- token
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔
مثالیں
- Add User talk:Foo and Talk:Bar to the delivery list Example and remove Talk:Baz from it
- api.php?action=editmassmessagelist&spamlist=Example&add=User%20talk%3AFoo%7CTalk%3ABar&remove=Talk%3ABaz&token=TOKEN [تختۂ مشق میں کھولیں]
- Set the description of the delivery list Example to be "FooBar delivery services"
- api.php?action=editmassmessagelist&spamlist=Example&description=FooBor%20delivery%20services&token=TOKEN [تختۂ مشق میں کھولیں]