Add API action=watch 'entirewatchlist' param to bulk-clear watchlist.
authorBrion Vibber <brion@pobox.com>
Fri, 9 May 2014 10:22:45 +0000 (12:22 +0200)
committerBrion Vibber <brion@pobox.com>
Fri, 9 May 2014 20:19:23 +0000 (22:19 +0200)
commit66b07ea38133992f98bb158c95103b720fe958ec
treea887580331faaf10eec9d7b6f218b47c0662ff5e
parentb31c093855be5e0a465bfa6b779c0f8c2e86a7d3
Add API action=watch 'entirewatchlist' param to bulk-clear watchlist.

Requested by bot runners, who often accumulate huge watchlists
and have trouble resetting them.

Requires POST and a token to prevent accidents or abuse.
Same token as individual or list watching.

Bug: 65058
Change-Id: Id8476a1ba8b2661cf6451cacf3121d5c2d0675cf
includes/api/ApiWatch.php