Wikipedia:Bots/Requests for approval/PearBOT 14
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Request Expired.
Operator: Trialpears (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:06, Thursday, December 28, 2023 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Pywikibot
Source code available: Dictionary generator, Box adder, Continuous editing and Huge dictionary
Function overview: Adds {{Other TfDs}} boxes with links to all previous TfD discussions concerning a nominated template.
Links to relevant discussions (where appropriate): Wikipedia talk:Templates for discussion#Automatically listing old discussions
Edit period(s): Checks the daily TfD subpage once an hour for new discussions, actually edits a few times a week. Also a large one time addition for all past discussion.
Estimated number of pages affected: Maybe 2000-2500 when applying boxes to discussions retroactively (one time only). When in continuous use maybe a dozen a week.
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: The bot consists of 3 parts. One script that goes through all Wikipedia:Templates for discussion/Log subpages and scrapes what templates were discussed (linked in {{Tfd links}}), the result and the link to the discussion. This information is added to a 14 MB python dictionary. Relists are ignored. Part two goes through all the same pages and adds an {{Other TfDs}} box if one of the templates has been discussed some other time (either previously or later) as determined by the dictionary. There are up to ~3000 discussions out of ~56,000 that could get such a box, but the real number will be less due to identical mass noms and templates nominated more than twice being double counted. The third script would check the TfD subpage of the day for new discussions each hour and adds them to the dictionary. If any discussion needs a box it adds one there and updates previous discussions to include a link to the new one. This script isn't written yet, but will mostly consist of parts from the other two scripts. These user pages have a small number of successful test edits: 1, 2, and 3.
Discussion
[edit]- Linking older discussions from new ones is fine, but I don't think modifying older discussions to link to the newer ones is a good idea – the archive headers say to not modify the closed discussion. – SD0001 (talk) 20:59, 28 December 2023 (UTC)[reply]
- @SD0001 On AfD the corresponding feature uses Special:Prefixindex. This results in links to future discussions being automatically added. This is useful and in no way alters the contents of the discussion. I believe we should do the same here. Trialpears (talk) 21:08, 28 December 2023 (UTC)[reply]
- I agree with SD0001 on this matter; past discussions do not necessarily need to have a link to further-past discussions as all discussions in question are already closed; in other words I see no tangible benefit (though as I stated in the BOTREQ I think this is a good idea going forward). Primefac (talk) 08:22, 31 December 2023 (UTC)[reply]
- On the other hand why not? Retroactive is not the sort of task that I would see as actively worth doing, but if someone wants to do it then more power to them. "Please do not modify it" on closed discussions has never been an absolute rule. I would have the template clearly state it was added retroactively, but the addition is IMO useful and causes little harm. * Pppery * it has begun... 05:02, 11 January 2024 (UTC)[reply]
- It's also two different sets of code, but I see your point. Primefac (talk) 19:00, 11 January 2024 (UTC)[reply]
- On the other hand why not? Retroactive is not the sort of task that I would see as actively worth doing, but if someone wants to do it then more power to them. "Please do not modify it" on closed discussions has never been an absolute rule. I would have the template clearly state it was added retroactively, but the addition is IMO useful and causes little harm. * Pppery * it has begun... 05:02, 11 January 2024 (UTC)[reply]
- I agree with SD0001 on this matter; past discussions do not necessarily need to have a link to further-past discussions as all discussions in question are already closed; in other words I see no tangible benefit (though as I stated in the BOTREQ I think this is a good idea going forward). Primefac (talk) 08:22, 31 December 2023 (UTC)[reply]
- @SD0001 On AfD the corresponding feature uses Special:Prefixindex. This results in links to future discussions being automatically added. This is useful and in no way alters the contents of the discussion. I believe we should do the same here. Trialpears (talk) 21:08, 28 December 2023 (UTC)[reply]
Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. I want this to be run in two separate batches. One batch will be "50 edits or 14 days, whichever comes first" and will only deal with new nominations. The second batch will be 25 edits to historical log pages to see proof of concept. Ideally if you could run them that way so the contributions are easier to split, that would be great. Feel free to start with the second batch first since it's not time-dependent. Primefac (talk) 19:00, 11 January 2024 (UTC)[reply]
- A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified) Any updates? Primefac (talk) 20:11, 18 February 2024 (UTC)[reply]
- Request Expired. Based on Special:Diff/1228996907 I do not think this will be getting out of trial. Primefac (talk) 00:21, 15 June 2024 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.