Template talk:Db-meta
| This is the talk page for discussing improvements to the Db-meta template. |
|
| Archives: 1, 2, 3, 4, 5Auto-archiving period: 3 months |
| Template:Db-meta is permanently protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
| To help centralize discussions and keep related topics together, all speedy deletion template talk pages redirect here.
If you are here to discuss one of the db-* (delete because) templates, please be sure to identify which one. For discussions on each individual template prior to July 2008, see the histories of each talk page. For discussions about the template for criterion G1 from March 2004, see Template talk:Db-g1/Archive 1. |
| This talk page is for discussion about the CSD templates themselves (technical questions, maintenance, etc.) Discussions about any CSD criteria (adding, removing, amending, etc.), should take place at Wikipedia talk:Criteria for speedy deletion, instead. |
Update db-gs for South Asia EC-restricted topics
editThis edit request to Template:db-gs has been answered. Set the |answered= parameter to no to reactivate your request. |
While Wikipedia:Contentious topics/South Asia isn't EC-restricted as a whole, two subtopics (Indian military history, and social groups including castes) are, and they should be added to {{db-gs}} (which currently doesn't recognize them as valid codes). Chaotic Enby (talk · contribs) 14:42, 30 July 2025 (UTC)
- Done by HouseBlaster. * Pppery * it has begun... 00:48, 31 July 2025 (UTC)
- Small detail, Wikipedia:Contentious topics/South Asia still uses "GSCASTE" as the code for South Asian social groups, would it be useful to have it work as an alternate code? That would mostly be for people adding the templates manually, as the Twinkle update will use the "SASG" code. Chaotic Enby (talk · contribs) 13:09, 10 August 2025 (UTC)
Edit request 13 August 2025
editThis edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
On the {{Db-g4}} and {{Db-xfd}} templates (only these two have this problem), the discussion link should include the "a". So instead of the link just being "a deletion discussion", it should be changed to "a deletion discussion". This is already the stardard for templates linking to a discussion.
This helps the reader understand they're not just being sent to some article about deletion discussions, but the specific discussion for the article in question. FaviFake (talk) 22:16, 13 August 2025 (UTC)
- Not done: The link is to Wikipedia:Deletion discussions which makes sense to link as "deletion discussion" without the a. Primefac (talk) 22:46, 13 August 2025 (UTC)
- Oh, I was confused then. Thank you. Maybe there's a better way to make it clear, but I have no ideas in mind. FaviFake (talk) 23:30, 13 August 2025 (UTC)
Modify Db-meta template to hide "Contest this speedy deletion" button to non-extended-confirmed users on pages with ARBECR restriction.
editPer Wikipedia:Village pump (technical)#User Intarface encourages actions that are against rules and can have unintended consquences for new users, the {{Db-meta}} template will sometimes encourage non-extended-confirmed users to start topics on talk pages where they technically able to but are prohibited from doing so by a WP:ARBECR restriction. I have modified the sandbox version at Special:Diff/1304550237/1313339641 to check the talk page for the Wikipedia pages subject to the extended confirmed restriction category and, if it is present, hide the "Contest this speedy deletion" button and related instructions from non-extended-confirmed users. Any objections to including it in the main template? --Ahecht (TALK
PAGE) 19:03, 28 September 2025 (UTC)
- ARBECR allows non-EC editors to make edit requests. Contesting a speedy deletion is essentially an edit request to remove the deletion tag. I do not see why this would need changing. Primefac (talk) 00:56, 6 October 2025 (UTC)
- @Primefac Interesting, and I suppose it makes sense since you are essentially requesting an edit to remove the speedy-delete tag, but that wasn't how people interpreted it at VPT. Are you saying this on behalf of ArbCom? If so, should this be clarified somewhere in the templates or documentation? --Ahecht (TALK
PAGE) 13:27, 7 October 2025 (UTC)- I do not necessarily know if ArbCom is aware of this thread or the VPT, I am just replying based on the language and meaning behind the restriction (i.e. I am not wearing any hats). Primefac (talk) 22:07, 8 October 2025 (UTC)
- I believe I commented earlier about this, but Primefac raised an angle I didn't consider and they flagged it for the clerks. I don't have an Official Position (and this is certainly not a "For ArbCom, HB" message). I'm of two minds for this request. One is that it is not exactly an edit request and the spirit of WP:BMB applies, and do we really think that a non-XC contester is going to be successful? But maybe we take this idea and run with it, and say that all non-XC editors should only use the contest button (currently non-XC editors other than the initial creator are instructed to remove the tag). HouseBlaster (talk • he/they) 01:25, 9 October 2025 (UTC)
- @HouseBlaster and Primefac: Thanks, I submitted a clarification request at Wikipedia:Arbitration/Requests/Clarification and Amendment#Clarification request: Extended confirmed restriction. --Ahecht (TALK
PAGE) 15:33, 9 October 2025 (UTC)
- @HouseBlaster and Primefac: Thanks, I submitted a clarification request at Wikipedia:Arbitration/Requests/Clarification and Amendment#Clarification request: Extended confirmed restriction. --Ahecht (TALK
- @Primefac Interesting, and I suppose it makes sense since you are essentially requesting an edit to remove the speedy-delete tag, but that wasn't how people interpreted it at VPT. Are you saying this on behalf of ArbCom? If so, should this be clarified somewhere in the templates or documentation? --Ahecht (TALK
Template-protected edit request on 15 October 2025
editThis edit request to Template:Db-gs has been answered. Set the |answered= parameter to no to reactivate your request. |
Please implement my changes in the sandbox, which adds a convenience link to the appropriate page to log the deletion after it is carried out. Aasim (話す) 19:11, 15 October 2025 (UTC)
- Can you please demonstrate the difference on the testcases page, or on a sandbox page if substing is required? Here's the live/sandbox diff for other template editors. – Jonesey95 (talk) 20:23, 15 October 2025 (UTC)
- I just created Template:Db-gs/testcases. The changes are invisible by default (as the parameter generates text with the CSS class
sysop-show), but it can still be checked by locally editing the CSS to removedisplay: none;. Also noting that page sanctions for PIA are logged on a separate page. Chaotic Enby (talk · contribs) 10:42, 18 October 2025 (UTC)
- I just created Template:Db-gs/testcases. The changes are invisible by default (as the parameter generates text with the CSS class
- Done Chaotic Enby (talk · contribs) 10:49, 18 October 2025 (UTC)
- @Awesome Aasim, was there a specific reason to make the logging link not work (with the
<noinclude>tags) if no code was provided? I presume it makes sense (as there isn't a default page where they can be logged – AE doesn't work for community GS), but the visibly broken link is something that could be fixed if you want to keep working on this template. Chaotic Enby (talk · contribs) 10:54, 18 October 2025 (UTC)- You're right - there isn't. That is kind of the problem.
- I was thinking maybe the link should be to WP:AELOG but not all of these G5 deletions fall under arbitration restrictions (some are under community restrictions). I do wish there was a central contentious topic log (that would solve this issue) but there isn't. Aasim (話す) 17:51, 18 October 2025 (UTC)
- For now, I've made it so that the link doesn't display at all when no code is given, as the broken [[|here]] link could be confusing otherwise. Chaotic Enby (talk · contribs) 17:52, 18 October 2025 (UTC)
Template-protected edit request on 18 October 2025
editThis edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please incorporate this change (also stated below) from the sandbox, which will only add a period to the {{{1}}} or {{{2}}} parameter if it isn't terminated (e.g., ends with a period, question mark, exclamation mark). Adding punctuation unconditionally to user-provided strings is silly, and just leads to people ending CSD reason parameters with ".." because they didn't memorize which templates add punctuation in which cases.
(Also yes technically this will make the period for {{{2}}} italic when it wasn't before, but I think we'll survive.)
Diff
| ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Perryprog (talk) 19:51, 18 October 2025 (UTC)
- @Perryprog, this sounds like a great change on principle, and I don't see any downsides to it. Most templates derived from db-meta don't have free-form text parameters, but some like {{db-g15}} do have them, and it will be useful in these cases. I'll test this on Template:db-g15/testcases to see if it gives us expected behavior, as the main template output at Template:db-meta/testcases appears unchanged. Chaotic Enby (talk · contribs) 20:58, 18 October 2025 (UTC)
- Done Chaotic Enby (talk · contribs) 21:05, 18 October 2025 (UTC)
- Cheers! And yeah, G15 was precisely the one I got affected by. I remember a while ago UAA reports (presumably via Twinkle) had the same issue which drove me nuts, so when I noticed it here I wanted to make sure that no one else would fall into the same trap. Perryprog (talk) 21:42, 18 October 2025 (UTC)
Zak Smith
editThis edit request to Template:db-gs has been answered. Set the |answered= parameter to no to reactivate your request. |
Add Zak Smith with code zs, per WP:CT/ZS. –LaundryPizza03 (dc̄) 05:48, 6 December 2025 (UTC)
- @LaundryPizza03: I'm not sure what this involves, therefore, Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 10:10, 7 December 2025 (UTC)
- @Redrose64: What don't you understand? This is to add a code for a general sanction not in the current template. –LaundryPizza03 (dc̄) 10:44, 7 December 2025 (UTC)
I've deployed a code for the Zak Smith DS, zs, to the sandbox. –LaundryPizza03 (dc̄) 12:23, 7 December 2025 (UTC)
- What I didn't understand was exactly what to add and where to add it. The sandbox edit assists greatly, so Done. --Redrose64 🌹 (talk) 13:11, 7 December 2025 (UTC)
db-t5
editUsing db-t5 on a module page throws an error This template should be transcluded in the Template namespace(s) only. The namespace detection in the code should also include module pages. Gonnym (talk) 12:45, 9 December 2025 (UTC)
- There does seem to be an error of this nature as T5 applies to both templates and modules. I don't know how to fix it myself, so I can't put it in an X to Y format for an edit request. Thryduulf (talk) 04:21, 11 December 2025 (UTC)
- I too have tried to fix this and am a loss for how/where it is being produced. @Jonesey95, Primefac, and Redrose64: can any of you help here? Zackmann (Talk to me/What I been doing) 04:26, 11 December 2025 (UTC)
- Wait, I think this might actually be an issue with {{db-t5}} itself... the call to {{Single namespace}} seems to be the root cause. Zackmann (Talk to me/What I been doing) 04:39, 11 December 2025 (UTC)
- And it appears HouseBlaster had the same idea. I think they just fixed it! Zackmann (Talk to me/What I been doing) 04:40, 11 December 2025 (UTC)
- Nice job by HouseBlaster. I looked at the code and tried to figure out what combination of #if trickery would fix it, but I didn't come up with anything clever. Gonnym, let us know if it doesn't work. Module space can be a little squirrely with its handling of non-Lua text. – Jonesey95 (talk) 06:17, 11 December 2025 (UTC)
- And it appears HouseBlaster had the same idea. I think they just fixed it! Zackmann (Talk to me/What I been doing) 04:40, 11 December 2025 (UTC)
- Wait, I think this might actually be an issue with {{db-t5}} itself... the call to {{Single namespace}} seems to be the root cause. Zackmann (Talk to me/What I been doing) 04:39, 11 December 2025 (UTC)
- I too have tried to fix this and am a loss for how/where it is being produced. @Jonesey95, Primefac, and Redrose64: can any of you help here? Zackmann (Talk to me/What I been doing) 04:26, 11 December 2025 (UTC)
Adding error messages to some templates
editI am here to further discuss adding error messages to templates that don't already have them. See Wikipedia talk:Speedy deletion#Issue regarding the A-series criteria. - BᴏᴅʜıHᴀᴙᴩ (talk, contributions) 22:13, 14 December 2025 (UTC)
Update to Template:Db-xfd
editAfter getting tired of having to manually trim URLs when using this template via TWINKLE, I have updated the code so that now the FULL url can be supplied (I.E. copying and pasting from the address bar). Based on my testing it should still work for the old school way but if anyone sees any weird behavior with this, feel free to let me know or revert if it is causing problems. Zackmann (Talk to me/What I been doing) 20:55, 16 December 2025 (UTC)