From ed64bf447591ffb12fd40b4773d11b92acd3a7a6 Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Sat, 7 Dec 2024 23:00:00 -0800 Subject: [PATCH 1/2] DEVELOPER.md: add checklist for CSD patches --- DEVELOPER.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DEVELOPER.md b/DEVELOPER.md index cfc3334ab..b5a1d6230 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -180,3 +180,13 @@ All the dependencies that Twinkle uses are JavaScript **dev** dependencies. They - mwn - Used when you run `npm start`. `npm start` is what enables localhost testing. When updating dependencies, CI should take care of testing most of that. Manually testing `npm start` should be the only additional check needed. + +### Adding a CSD + +Here is a checklist for writing a patch to add a speedy deletion criteria called A1: + +* Write a patch similar to this one: https://github.com/wikimedia-gadgets/twinkle/pull/2097/files +* On wiki, create these pages. Copy an existing template and adjust as needed. + * Template:Db-a1, which will be placed on the page tagged for deletion. + * Template:Db-a1-notice, which will be placed on the user talk page of the author of the page tagged for deletion. + * Template:Db-a1-deleted, which will be placed on the user talk page of the author of the page deleted. From b7205aae9dc99c4697e2132894d6b6dc26d868ce Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Sat, 7 Dec 2024 23:22:10 -0800 Subject: [PATCH 2/2] mention defaultConfig --- DEVELOPER.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPER.md b/DEVELOPER.md index b5a1d6230..08e1883e0 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -186,6 +186,7 @@ When updating dependencies, CI should take care of testing most of that. Manuall Here is a checklist for writing a patch to add a speedy deletion criteria called A1: * Write a patch similar to this one: https://github.com/wikimedia-gadgets/twinkle/pull/2097/files +* If you want any of the config options to be on by default (instead of off by default), modify twinkle.js -> Twinkle.defaultConfig. * On wiki, create these pages. Copy an existing template and adjust as needed. * Template:Db-a1, which will be placed on the page tagged for deletion. * Template:Db-a1-notice, which will be placed on the user talk page of the author of the page tagged for deletion.