Allow users to add, remove and apply change tags using the API
authorThis, that and the other <at.light@live.com.au>
Wed, 15 Apr 2015 01:33:08 +0000 (11:33 +1000)
committerAnomie <bjorsch@wikimedia.org>
Wed, 15 Apr 2015 18:30:45 +0000 (18:30 +0000)
commitae3ab9eef0379e3e0a6cd9408f153648297e0853
treee43b8731644cab3c96f8f3117103a81cbe6eba01
parent8ad13440fb2edb70aee6e3514455076a652ca618
Allow users to add, remove and apply change tags using the API

You can add tags at the same time as performing action=edit, as long as you
have the "applychangetags" right. Also, you can add or remove tags after
the fact from revisions and log entries using the API action=tags.

No UI is provided for either of these changes. The target audience is user
scripts, gadgets and similar tools.

Includes a new log parameter format type: "list", for a comma-separated
list of values.

Logging of change tag events is limited to those that do not accompany an
edit (i.e. those done after the fact), and is hidden from Special:Log by
default, similar to the patrol log.

Bug: T20670
Change-Id: I37275e0f73fa3127f55da0c320b892551b61ee80
15 files changed:
autoload.php
includes/ChangeTags.php
includes/DefaultSettings.php
includes/EditPage.php
includes/User.php
includes/api/ApiBase.php
includes/api/ApiEditPage.php
includes/api/ApiMain.php
includes/api/ApiTag.php [new file with mode: 0644]
includes/api/i18n/en.json
includes/api/i18n/qqq.json
includes/logging/LogFormatter.php
includes/logging/TagLogFormatter.php [new file with mode: 0644]
languages/i18n/en.json
languages/i18n/qqq.json