[10:54:33] Hi, I have a question about using templates like this one https://en.wikipedia.org/wiki/Template:Chart on my own wiki. Anyone who can help with that? [20:19:19] Hello, anyone here? [20:30:11] PMC_x: A lot of people are! Feel free to just ask your question, if any - if somebody is around who knows about it, they'll reply. [20:36:21] Ok, within the last maybe 2 weeks or so I've been having an issue where the information from a PROD or CSD tag no longer prefills on the deletion page when I click delete. This is consistent over 3 different browsers (Chrome, Firefox, and IE) on 2 different computers. [20:37:46] It's driving me nuts, because now I have to copy/paste whatever the tag said (particularly bad for PROD) when I'm deleting it, which slows my efforts down a lot [20:45:32] PMC_x: what project? [20:45:39] Oh sorry. enwiki [20:46:04] PMC_x: are you susbting the prods? [20:47:35] I'm not the one making the PROD tags, I'm the deleting admin [20:48:38] PMC_x: oh sorry i misread the problem. [20:49:17] Nah all good [20:50:35] PMC_x: give me a moment [20:51:11] PMC_x: when you click the delete button for the PROD what is the url? [20:52:03] https://en.wikipedia.org/w/index.php?title=Lean_theorem_prover&action=delete just to grab a random example [20:53:20] PMC_x: does that atleast fill in the page name? [20:53:33] PMC_x: because that url wouldnt fill it out as if its a prod... [20:54:35] I don't understand what you mean [20:55:25] PMC_x: What exactly are you expecting the outcome when you click to be? Cause the url you sent would (if i recall correctly) would only fill in the page name [20:55:47] click delete* [20:56:28] I would expect the outcome to be that the "other/additional reason" automatically imports the phrase "expired [[WP:PROD]]" and then sticks the PROD tagger's deletion rationale in there [20:57:01] PMC_x: well the example url you sent wouldnt do that, and the example url isnt to be expected to do that [20:57:34] Okayyyyyyyyyyyyy I guess that's the problem then isn't it? [20:58:25] Historically, when clicking "delete" at the top of the article, the expected outcome I described is the outcome I have seen [20:59:01] But now, when clicking delete at the top of the article, the outcome is that there is no prefilling [20:59:05] PMC_x: i think theres a userscript for what you want let me look [20:59:17] I've never used a userscript for that [20:59:39] It's always been automatic. I'm not deliberately trying to be stubborn here I'm just trying to understand what changed. [21:00:34] PMC_x: No, I understand... your fine [21:01:02] And, argh, once in awhile it actually does it properly - I just tried to delete https://en.wikipedia.org/wiki/User:Manc1234/Mr._Food and it prefilled [21:01:24] But when I re-opened the same page in a new tab and tried again, it took me to the regular URL without the prefill [21:02:59] PMC_x: One moment [21:05:11] PMC_x: When it prefilled was it a different url? [21:05:19] Yes, very [21:05:39] https://en.wikipedia.org/w/index.php?title=User:Manc1234/Mr._Food&action=delete&wpReason=%5B%5BWP%3ACSD%23U1%7CU1%5D%5D%3A+User+request+to+delete+pages+in+own+userspace+%E2%80%93+If+you+wish+to+retrieve+it%2C+please+see+%5B%5BWP%3AREFUND%5D%5D [21:09:14] PMC_x: Thats weird... [21:09:31] could you file a bug report on phabricator.wikimedia.org? [21:09:37] lol yup and it's completely random [21:09:52] I just tested maybe a dozen random CSD-tagged pages and only one autofilled [21:29:46] Zppix: I have filed the bug report [21:30:04] https://phabricator.wikimedia.org/T165700 [22:30:12] hi PMC_x [22:30:40] PMC_x: you can ignore Zppix. You should report this to the Twinkle maintainers if it's not working properly [22:44:05] legoktm I've never used Twinkle in my life [22:44:49] https://github.com/azatoth/twinkle/issues/new [22:46:28] That requires a login to view for some reason, and anyway I don't use Twinkle [22:47:41] Sorry I closed the channel by mistake [22:47:54] So if you replied to me above I missed it [22:54:28] I also just double checked my personal js and I have no scripts that relate to deletion whatsoever [22:55:57] So I have no idea how this could be a Twinkle issue or a user script issue given that I don't use either in relation to deleting things [22:57:35] did you check your gadgets? [22:58:42] Yes, and I honest to christ don't see anything in there that relates to deletion. I tried looking over each gadget manually, and then I Ctrl+F'd for anything including "del" in case I missed something [22:58:56] And again I haven't changed or updated my gadgets in months anyway [23:14:16] PMC_x: the behavior you want was probably the result of a previous script [23:14:36] and that script was probably affected by the recent changes of not automatically loading mw.util [23:14:40] and thus is not working now [23:16:07] Hmm. It works occasionally, randomly. Like maybe 1/10 times or less. Would that change still account for that? [23:16:27] :/ [23:16:43] I know I'm sorry it's totally bizarre [23:16:50] that looks like some kind of race condition between when the script runs and when it's loaded [23:17:30] I honestly had no idea it would be a script (like where the hell would I have it if not on my common.js) [23:18:08] here: https://en.wikipedia.org/wiki/MediaWiki:Group-sysop.js [23:18:16] Automatic deletion dropdown [23:18:16] * [23:18:16] * Looks for CSD/XFD/PROD templates on a page; if one is present, picks up [23:18:16] I've been on WP since 2004 and took a several-years-long break in between coming back so as far as I have been aware that's always been a thing [23:18:19] * the deletion reason that's hidden on the template and tweaks the 'delete' [23:18:22] * tab link to preload that deletion summary. [23:22:35] I tried dropping that into my common.js but it's not working [23:22:41] please report this to Happy-Melon [23:22:49] which is the maintainer of this snippet [23:23:18] Ok cool I wasn't sure if you knew 100% if that one was working (as opposed to...whatever the hell I was previously using) [23:23:20] I will do that