-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speedy: Allow sysops to issue warning upon csd #520
Comments
By "warning" I assume you mean something like Template:Db-notice. If so, 👍. I have always wanted this; If I speedy delete a page that wasn't already tagged for speedy, I of course want to let the user know the reasoning. So I usually tag for speedy myself, then immediately delete. This is subpar because the notice says "A page you created has nominated for speedy deletion ... you can contest it by...". They can't contest it because I already deleted it. So I think that's step one... adding a |
Would it be easier to just use something like {{Db-reason-notice}}? That has most of the text that we'd like — the "contest this" text is like half of CSD notices — and would be easier to modify than switching on and off tenses in each individual template. That'd also allow us to just use the deletion summary, which would be nice so that we're not stuck maintaining something like {{Db-notice-multiple}}. I've been meaning to look into being smarter about detecting and using CSD templates on a page. I'll try and tackle that next week as I think that will be required before moving on this, which by itself should be fairly straightforward. |
That's better than nothing. I do like how Template:Db-copyvio-notice for instance explains the problem, and how they can avoid it in the future. Ideally we could get all that with our post-deletion notice. |
Slept on it, I think you're right as usual. Db-notice-multiple looks feasible, I've made changes to {{db-notice-multiple/sandbox}}, take a look and tell me what you think. Language could probably use some work, especially the closing note and stuff around F3/F7. I'll try and whip something up next week to implement this on our end, but it'd probably be good to ask for input at Template talk:Db-notice and WT:CSD before going too far. ETA: Apparently you thought of this three years ago in #300 (comment)! We could expand the use of (Also, per #300 (comment), I'm one of the few who uses the radio buttons. I had no idea, I thought surely everyone would do it that way!) |
@MusikAnimal Alright, I've got something working. Still tweaking, but I had a question for you first. You wrote the current Aesthetically and behaviorally, I think these should be aligned. I like the system you wrote, but I worry that dynamically changing a box they've already (de)selected might be easy to miss once they move to the criteria section. In terms of this specific issue, if there is a tag already on the page, I'd like to default to not issuing a warning after deletion, assuming they were notified upon the page being tagged. I've got it working, but because selecting an option can dynamically turn the warning on, I'm also building in a popup confirmation in those cases; this is especially important for Moving to the same system as the tag notification would alleviate this, but I wanted to take your temperature first. I'm overwriting the Also, Do we have a good way of migrating/removing preferences? The old |
To that last point, https://github.com/azatoth/twinkle/blob/5971e76d81c9f960f14a54f06d4850c212ede1ef/twinkle.js#L401-L410 has some old (pseudo)code aimed at a system of version preferences. There's other stuff in there that we can probably remove, and it's probably overkill for just this, but that's something to think about down the road at least. |
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#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.
Closes wikimedia-gadgets#520 and wikimedia-gadgets#505. Removes the old "open talk page" sysop option and folds the non-sysop tagging system into a unified `noteToCreator` notification system for both tagfing and deleting. Uses the existing system for tagging to determine whether or not to notify, rather than the bespoke option for `openUserTalk` from wikimedia-gadgets#300; that is, it will notify 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; in the latter scenario, if the box is subsequently checked, there is an additional prompt (this might be a good candidate for removal down the line, but I think it's important to include now, especially since it's a new feature). It uses the existing preference about whether to welcome the user alongside the notification rather than create a separate one just for post-deletion notifications. New templates all listed at [[Template:Speedy deletion deleted]].
Closes wikimedia-gadgets#520 and wikimedia-gadgets#505. Removes the old "open talk page" sysop option and folds the non-sysop tagging system into a unified `noteToCreator` notification system for both tagfing and deleting. Uses the existing system for tagging to determine whether or not to notify, rather than the bespoke option for `openUserTalk` from wikimedia-gadgets#300; that is, it will notify 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; in the latter scenario, if the box is subsequently checked, there is an additional prompt (this might be a good candidate for removal down the line, but I think it's important to include now, especially since it's a new feature). It uses the existing preference about whether to welcome the user alongside the notification rather than create a separate one just for post-deletion notifications. New templates all listed at [[Template:Speedy deletion deleted]].
Requested on IRC.
It's not really standard practice, mainly since most pages are already tagged with users warned, and we offer the option to open the user's page after deletion. Still, I suppose it could be helpful? There are already a lot of options there.
The text was updated successfully, but these errors were encountered: