-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
speedy: New option for sysops: notify creator upon deletion.
Closes #520. Removes the old "open talk page" sysop option and incorporates the non-sysop tagging system into a unified `noteToCreator` system for notification (tag) and warning (delete). Uses the existing system for tagging to determine whether or not to notify/warn; that is, it will notify/warn only if the corresponding box is checked AND (at least one of) the CSD in question is checked in the user preferences. The box is checked by default, unless it finds `$('#delete-reason')` on the page, indicating some sort of XfD or CSD or the like. I've also added an additional prompt if the form is going to check anyway. It should respect the existing preference about whether to welcome the user alongside the notification/warning.
- Loading branch information
1 parent
41ab010
commit df19692
Showing
3 changed files
with
125 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters