Use WatchedItemStore clearing in SpecialEditWatchlist
authoraddshore <addshorewiki@gmail.com>
Tue, 15 Mar 2016 00:36:36 +0000 (00:36 +0000)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 9 Feb 2018 19:50:42 +0000 (19:50 +0000)
commit6aa89efb5a8a743840f106f0ac9782192b0cd6cd
treeeedf89f18f138dbc129769caa9747b86221a64be
parent6cf900ffb0bec584e64202bc3a80ba0978646a75
Use WatchedItemStore clearing in SpecialEditWatchlist

This switches to using the WatchedItemStore that has the ability to
delete all watchlist items for a user using the jobqueue.

The job was introduced in:
Icea573a10078ea3f09dc2e4e9fdc737bf639935d
Functionality added to the store in:
I2f8c8be860a03116535dbd1e6a18ce2e8bc546b4
This patch is the first code calling the new functionality.

If the number of watched items for the user is less
than the number that can be completed in a single
batch then they will still be deleted during the
interactive session.

Bug: T68212
Bug: T129481
Change-Id: I2f8c8be860a03116535dbd1e6a18ce2e8bc546b4
includes/specials/SpecialEditWatchlist.php
languages/i18n/en.json
languages/i18n/qqq.json