رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=managetags
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- اس ماڈیول کو اختیارات تحریر درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
ٹیگوں کی تبدیلی سے متعلق انتظامی امور انجام دیتا ہے۔
Which operation to perform:
- create
- Create a new change tag for manual use.
- delete
- Remove a change tag from the database, including removing the tag from all revisions, recent change entries and log entries on which it is used.
- activate
- Activate a change tag, allowing users to apply it manually.
- deactivate
- Deactivate a change tag, preventing users from applying it manually.
- یہ پیرامیٹر لازمی ہے۔
- ذیل کی قدروں میں سے کوئی ایک: activate، create، deactivate، delete
Tag to create, delete, activate or deactivate. For tag creation, the tag must not exist. For tag deletion, the tag must exist. For tag activation, the tag must exist and not be in use by an extension. For tag deactivation, the tag must be currently active and manually defined.
- یہ پیرامیٹر لازمی ہے۔
An optional reason for creating, deleting, activating or deactivating the tag.
- طے شدہ: (خالی)
Whether to ignore any warnings that are issued during the operation.
- طرز: بولین (تفصیلات)
Change tags to apply to the entry in the tag management log.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل):
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔
- Create a tag named spam with the reason For use in edit patrolling
- api.php?action=managetags&operation=create&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [تختۂ مشق میں کھولیں]
- Delete the vandlaism tag with the reason Misspelt
- api.php?action=managetags&operation=delete&tag=vandlaism&reason=Misspelt&token=123ABC [تختۂ مشق میں کھولیں]
- Activate a tag named spam with the reason For use in edit patrolling
- api.php?action=managetags&operation=activate&tag=spam&reason=For+use+in+edit+patrolling&token=123ABC [تختۂ مشق میں کھولیں]
- Deactivate a tag named spam with the reason No longer required
- api.php?action=managetags&operation=deactivate&tag=spam&reason=No+longer+required&token=123ABC [تختۂ مشق میں کھولیں]