afch-rewrite icon indicating copy to clipboard operation
afch-rewrite copied to clipboard

Display notice when draft has been deleted before

Open NovemLinguae opened this issue 3 years ago • 2 comments

Similar to how a notice is given when the mainspace article has been deleted before, consider also displaying a notice for when the draft has been deleted before.

Example: https://en.wikipedia.org/wiki/Draft:Jack_Maguire_(violinist). Has both mainspace and draft deletes.

Consider filtering out G13's from draft deletion notices, since those aren't anything bad or alarming.

Consider filtering out R2's from mainspace deletion notices, since those aren't anything bad or alarming.

image

NovemLinguae avatar Apr 11 '21 10:04 NovemLinguae

is this issue still open ? if yes , can I work on it

Ashish-100-tiwari avatar Jan 17 '22 19:01 Ashish-100-tiwari

Yes. You'll need to figure out where warnings get displayed, and add a new warning that checks the deletion log for the draft. It should be similar to the existing code. Honestly we should probably change the existing code to take a page name as a parameter, because otherwise we'd be copying and pasting the function and I don't think that's a good option.

enterprisey avatar Jan 18 '22 04:01 enterprisey