Skip to content

Commit

Permalink
speedy: Obey watchSpeedyPages pref when deleting
Browse files Browse the repository at this point in the history
This stems from over four years ago to wikimedia-gadgets#300 (26d974c) when the ability to delete under multiple rationales was to mirror tagging.  That being said, the user-facing description only mentioned tagging after 13ebf0e (part of (but unrelated to) wikimedia-gadgets#563).  Closes wikimedia-gadgets#1113.
  • Loading branch information
Amorymeltzer committed Aug 30, 2020
1 parent 7478ed2 commit 430cd61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/twinklespeedy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,7 @@ Twinkle.speedy.callbacks = {
var deleteMain = function(callback) {
thispage.setEditSummary(reason);
thispage.setChangeTags(Twinkle.changeTags);
thispage.setWatchlist(params.watch);
thispage.deletePage(function() {
thispage.getStatusElement().info('done');
typeof callback === 'function' && callback();
Expand Down

0 comments on commit 430cd61

Please sign in to comment.