رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=tag
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو اختیارات تحریر درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
انفرادی نوشتوں یا نوشتہ کے اندراجات سے تبدیلی کے ٹیگوں کو ہٹاتا یا ان میں ٹیگوں کو شامل کرتا ہے۔
- rcid
One or more recent changes IDs from which to add or remove the tag.
- Type: list of integers
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- revid
One or more revision IDs from which to add or remove the tag.
- Type: list of integers
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- logid
One or more log entry IDs from which to add or remove the tag.
- Type: list of integers
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- add
Tags to add. Only manually defined tags can be added.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل):
- remove
Tags to remove. Only tags that are either manually defined or completely undefined can be removed.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- reason
Reason for the change.
- طے شدہ: (خالی)
Tags to apply to the log entry that will be created as a result of this action.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل):
- token
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔
- Add the vandalism tag to revision ID 123 without specifying a reason
- api.php?action=tag&revid=123&add=vandalism&token=123ABC [تختۂ مشق میں کھولیں]
- Remove the spam tag from log entry ID 123 with the reason Wrongly applied
- api.php?action=tag&logid=123&remove=spam&reason=Wrongly+applied&token=123ABC [تختۂ مشق میں کھولیں]