To run a bot on the English Wikipedia, you must first get it approved. Follow the instructions below to add a request. If you are not familiar with programming consider asking someone else to run a bot for you.
If your task could be controversial (e.g. most bots making non-maintenance edits to articles and most bots posting messages on user talk pages), seek consensus for the task. Common places to start include WP:Village pump (proposals) and the talk pages of the relevant policies, guidelines, templates, and/or WikiProjects. Link to this discussion in your request for approval.
You will need to create an account for your bot if you haven't already done so. Click here when logged in to create the account, linking it to yours. (If you do not create the bot account while logged in, it is likely to be blocked as a possible sockpuppet or unauthorised bot until you verify ownership)
Create a userpage for your bot, linking to your userpage (this is commonly done using the {{bot}} template) and describing its functions. You may also include an 'emergency shutoff button'.
II
Filing the application
easy-brfa.js can be used for quickly filing BRFAs. It checks for a bunch of filing mistakes automatically! It's recommended for experienced bot operators, but the script can be used by anyone.
Enter your bot's user name in the box below and click the button. If this is a request for an additional task, put a task number as well (e.g. BotName 2).
Complete the questions on the resulting page and save it.
Your request must now be added to the correct section of the main approvals page: Click here and add {{BRFA}} to the top of the list, directly below the comment line.
For an additional task request: use {{BRFA|bot name|task number|Open}}
III
During the approvals process
During the process, an approvals group member may approve a trial for your bot (typically after allowing time for community input), and AnomieBOT will move the request to this section.
Run the bot for the specified number of edits/time period, then add {{Bot trial complete}} to the request page. It helps if you also link to the bot's contributions, and comment on any errors that may have occurred.
AnomieBOT will move the request to the 'trial complete' section by moving the {{BRFA}} template that applies to your bot
If you feel that your request is being overlooked (no BAG attention for ~1 week) you can add {{BAG assistance needed}} to the page. However, please do not use it after every comment!
At any time during the approvals process, you may withdraw your request by adding {{BotWithdrawn}} to your bot's approval page.
IV
After the approvals process
After the trial edits have been reviewed and enough time has passed for any more discussion, a BAG member will approve or deny the request appropriately.
For approved requests: The request will be listed here. If necessary, a bureaucrat will flag the bot within a couple of days and you can then run the task fully (it's best to wait for the flag, to avoid cluttering recent changes). If the bot already has a flag, or is to run without one, you may start the task when ready.
For denied/expired/withdrawn requests: The request will be listed at the bottom of the main BRFA page in the relevant section.
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.
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
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]
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]
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.
Applying a {{backlog}} template to the page when there are more than 4-5 requests without a hold, that are less than 7 days old.
Informing autoconfirmed users who make a request on this page that they are free to upload their files themselves, but not changing the status of the request in case more help is needed.
(Optional) Informing registered users who make a request on FFU, who have a request with a free content license, that they may upload their own image, as long as the license is correct, to Commons. (Likely using {{ffu|commons}})
(Optional) Informing users of the robot clerk comment for tasks 2 and 3 on the requestor's talk page.
(Optional) Adding a request for a {{Non-free use rationale}} if none is provided for a request that has a non-free license in their request. This would require Task 4.
No Bot flag needed.
Discussion
@LemonSlushie: Hello. Thanks for taking up the task. A few questions: 1) under "edit periods", you said "as required". As this is an automatic task, wouldn't it be better to run the task on pre-determined regular intervals? 2) where would the bot run from? I mean, from your local computer, or a server? 3) I am not much familiar with WP:FFU, but: in case there is a request without a hold, and if that request has comments from some other user, then how would the bot determine which user made the request? 4) from the request, how would the bot determine the license of the file? especially in case it is worded differently by the requester? Also, this task/bot should have a bot flag. —usernamekiran (talk) 03:07, 19 January 2024 (UTC)[reply]
I am concerned that alerting registered users to upload free files cannot be accurate. Many requestors (hell, the majority of requests for "free" files) put "cc-by-sa 3.0" and then a fair use rationale template right below, or something similar. Some examples:
A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified) Some questions have been asked, would be helpful to get answers. Primefac (talk) 13:02, 25 January 2024 (UTC)[reply]
Request Expired. No response after more than a fortnight. Primefac (talk) 09:37, 16 February 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.
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.
Function details: With PkbwcgsBot not being online since 2020 my goal is to pick up this task. This is admittedly a minor task with a low number of pages popping up each week. I felt it was better to offset this to the bot to run at least once a week instead of just doing it on my personal account and clogging up my edit history.
The bot will use AWB to fix error 86 (External link with two brackets).
The bot is going to remove the double brackets around the link and apply general fixes.
Discussion
I am of two minds here. On the one hand this is taking over an already-approved bot task. On the other hand, the error count for #86 is currently 17, indicating that this might not be as "big" of an issue as it was three years ago. I'm not necessarily opposed to sending this to trial, but if it's only going to be making a handful of edits every once in a while it seems like it's more useful to do manually or with an AWB-specific account (if "clogging my edit history" is really that much of a concern). Primefac (talk) 08:27, 31 December 2023 (UTC)[reply]
@Primefac yeah that makes sense, I only submitted this because the previous bot owner hasn't run it in ages. Would it be more appropriate to change this BRFA to once a month/quarter and from automatic to supervised? Dr vulpes(Talk) 09:32, 31 December 2023 (UTC)[reply]
If the bot hadn't run in a while and the numbers are that low, that's why I'm thinking this might not be a task that needs a bot any more. If this is currently done manually or semi-manually (i.e. with AWB) by other editors (i.e. there is regularly a number of pages that needed fixing) and they are indicating they do not wish to do this any more, then it's more likely we can "revive" this task. Primefac (talk) 14:08, 31 December 2023 (UTC)[reply]
If the goal of Dr vulpes is to take over more CheckWiki errors and is just starting with this one, then (in my non-BAG opinion), the current low number isn't that big of an issue, as its still better for a bot to waste its time than editors with these simple fixes. Gonnym (talk) 17:13, 7 January 2024 (UTC)[reply]
Fair enough, especially if this does turn into a CW-fixing bot.
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 08:13, 12 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) are you ready to trial? — xaosfluxTalk 03:20, 13 February 2024 (UTC)[reply]
Request Expired. due to inactivity. Please open a new BRFA if you still want to continue the task. ProcrastinatingReader (talk) 12:01, 20 February 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.
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.
Comment This is a really neat idea that I wish I had thought of. Have you thought of any other ways to expand this task into areas that might have higher need? It's ok if you haven't I was just interested in hearing about how you found out about this problem and if you're thinking about any next steps. Dr vulpes(Talk) 07:01, 31 December 2023 (UTC)[reply]
I find that I cannot outright deny this request because I have been involved in discussions related to this in the past. I am extremely opposed to tasks where the only point is to remove empty parameter values, and I honestly think that this functionality in Module:Check for unknown parameters should be removed. While this does throw pages into a maintenance category, somewhat alleviating the COSMETICBOT issue, simply setting |ignoreblanks=1 does exactly the same thing, saving potentially thousands of edits. Primefac (talk) 08:30, 31 December 2023 (UTC)[reply]
To be fair, there really isn't any visual difference between filled out unsupported parameters and unfilled ones. They both don't change the display. Any rational for removing filled out parameters is just as valid for the unfilled ones. As an anecdotal, since clearing out 5 or so years ago a large amount of unfilled parameters in Infobox television, the amount of unsupported and strange filled out parameters has dropped almost to zero. Gonnym (talk) 17:18, 7 January 2024 (UTC)[reply]
As a separate thought to the above - the above two categories mentioned have (at the moment) a grand total of 2 pages in them, indicating in this particular instance the "blank parameter" issue has been solved. Primefac (talk) 08:32, 31 December 2023 (UTC)[reply]
As a third thought, my bot already does non-blank invalid-parameter removal. Primefac (talk) 08:32, 31 December 2023 (UTC)[reply]
Request Expired. Botop is basically inactive, with no traction on this by anyone (BAG or otherwise) since the new year. Primefac (talk) 07:34, 23 March 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.
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.
There was discussion of this at Help talk:Citation Style 1, and this does appear to be the correct thing to do; the parameters are useless/confusing when the domain to which they pertain is dead. — SMcCandlish☏¢ 😼 17:18, 12 November 2023 (UTC)[reply]
@GreenC: Am I reading your comment here right in that you and other editors would object to this task? I don't have very strong feelings about this, but I can see value in indicating an archived URL requires a subscription; even if said subscription is no longer available, the full content remains unaccessible at the archive URL. — The Earwig (talk) 05:27, 17 November 2023 (UTC)[reply]
Yes, during discussions 3 or 4 editors objected. There were actually two threads, the first was Help_talk:Citation_Style_1#Subscription_and_via,_when_link_is_dead. The more we know about the original source the better it is to verify. If the source was subscription, it can be assumed the archive version won't have the full (or any) content which makes it a higher-value target for editors doing verification work. Particularly in the future, when AI can help with verification. -- GreenC 22:10, 17 November 2023 (UTC)[reply]
Yeah, I think it's helpful information as well. Easier to know when the source was accessed in the past. I don't think it should be removed at least. PARAKANYAA (talk) 00:24, 26 November 2023 (UTC)[reply]
@PARAKANYAA: This bot task would NOT remove the |access-date= parameter which contains the value to know when the source was accessed in the past. This task is to remove the |access-date= parameter and/or {{subscription required}} only in those cases where there no longer is a registration/subscription option to view the source. GoingBatty (talk) 00:55, 26 November 2023 (UTC)[reply]
To me this sounds like it requires more discussion. Primefac (talk) 12:56, 14 December 2023 (UTC)[reply]
On hold. Formally putting this on hold until the above gets replies and/or traction can be indicated. Primefac (talk) 08:33, 31 December 2023 (UTC)[reply]
Request Expired. as no further comments here. Feel free to reopen (or create a new BRFA) if a discussion elsewhere indicates general agreement for this. ProcrastinatingReader (talk) 13:08, 20 February 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.
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 Approved.
Function details: Making use of regex {{ct\|(.*?)}} to replace transclusions of {{ct}} with {{UCI team code}} in the article namespace, in preparation of usurpation of {{ct}} redirect for {{Contentious topics}}.
Going by the linkcount tool, there are currently 11,400+ articles to be worked on, and 200-300 non-article namespace pages to look at. This bot will primarily work on the article namespace as the usage of the {{ct}} template is pretty much direct there, whilst the non-article namespaces will be worked on either manually or semi-automated manner in case of surprises.
As for the result of the regex application to find and replace the template, I have worked on some of the pages which can be seen at Special:Contributions/RobertskySemi.
If this passes, I would like to request for AWB perms for the bot account as well. Can it be granted through here, or I will have to request at the AWB perms board? – robertsky (talk) 07:32, 12 November 2023 (UTC)[reply]
Discussion
Hmm. This will make old revisions very annoying to read on 11,500 articles for the benefit of creating a short redirect for {{Contentious topics}}, which is a disambiguation template and not even something we'd ever use directly? I admit I'm not a big fan of this. — The Earwig (talk) 06:26, 17 November 2023 (UTC)[reply]
I would agree with Earwig. Template:Contentious topics is a placeholder template as well. I'd be suspicious that the benefits of having that at {{ct}} outweigh the negatives of breaking old page revisions. I know we'd generally give up support for old page revisions where this materially improves our ability to present or deliver content (eg appropriate TfDs), but there's definitely a weighing of pros/cons that needs to be done. ProcrastinatingReader (talk) 09:33, 18 November 2023 (UTC)[reply]
I am willing to disagree. It might break old page revisions in the short term, which will be a little annoying for anyone viewing an old ID, but in the long term it will become less confusing. We could also have the Ct page read this:
<includeonly>{{UCI team code}}</includeonly><noinclude>[disambiguation stuff]</noinclude>AwesomeAasim 16:31, 27 November 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. There seems to be a disparity where two different templates are using the same prefix, so that should be fixed. Primefac (talk) 08:36, 31 December 2023 (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.
Bots in a trial period
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 Approved.
Function details: Major WMF announcements go to WP:VPM because it's listed at m:Distribution list/Global message delivery. Users cannot subscribe there because it's for noticeboards. The bot would repost any MassMessages from VPM to a new MassMessage list. Example: Special:Diff/1179359075.
Discussion
Thanks for working on this, Qwerfjkl. Much appreciated. I think this could wind up being really helpful. Best, KevinL (aka L235·t·c) 16:40, 9 October 2023 (UTC)[reply]
Approved for trial (50 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I think it would be a good idea to get this onto the Admin Newsletter and/or crosspost somewhere so that users know this is an option. Primefac (talk) 09:21, 24 October 2023 (UTC)[reply]
@@L235, could you set up a MassMessage list for this? — Qwerfjkltalk 14:43, 24 October 2023 (UTC)[reply]
@L235, okay, thanks. I've started the trial now. i'm not entirely sure if the code actually works, so ping me if there's a message at VPM that doesn't get sent. — Qwerfjkltalk 14:00, 26 October 2023 (UTC)[reply]
Honestly the whole point of MassMessage was to remove bots from the message delivery process. Having users subscribe to WMF notifications seems like a reasonable use case, have you asked them to use a different delivery list in addition to the main one? Legoktm (talk) 03:18, 11 November 2023 (UTC)[reply]
@Legoktm: Hm, the thing is, I want every MassMessage posted to VPM, but there are quite a few different lists that include VPM in the list. Best, KevinL (aka L235·t·c) 21:52, 11 November 2023 (UTC)[reply]
Primefac, you can see from this that there haven't been any messages since the trial started. Not much I can do about that. — Qwerfjkltalk 16:24, 31 December 2023 (UTC)[reply]
@Qwerfjkl: FYI, I noticed in passing that this MassMessage got posted to VPM yesterday (and this one a couple of hours ago), but Qwerfjkl (bot) doesn't seem to have sent them. Best, —a smart kitten[meow] 20:30, 19 January 2024 (UTC)[reply]
A smart kitten, just looked into this. Appears I didn't have Beautiful Soup installed. It should work now. — Qwerfjkltalk 16:22, 22 January 2024 (UTC)[reply]
A smart kitten, I think I didn't properly fix the issue last time. I've confirmed that it's working now (at the cost of briefly breaking all of the tasks running on toolforge), so it should work next time. — Qwerfjkltalk 21:25, 21 February 2024 (UTC)[reply]
Should the message placed on the user talk page not indicate from whence the message originated? I feel like that would lead to a lot of decentralised discussions if for example you were to reply at your talk page if there is potentially already a long thread of discussion at VPM. Primefac (talk) 21:04, 10 March 2024 (UTC)[reply]
Primefac, how should I indicate that? A link in the section header, or just below that, or at the bottom of the message? (Feel free to edit any of the VPM messages on my userpage to illustrate what you mean.) — Qwerfjkltalk 21:39, 10 March 2024 (UTC)[reply]
I probably should have checked the diff itself, I didn't see that you included a permalink to the original discussion. I was mainly wanting to check that the recipient knew that it was coming via VPM rather than a "direct" mass message. Primefac (talk) 07:48, 11 March 2024 (UTC)[reply]
True. Do you think it would be better as a visible one? In thinking about it more, I do suppose that a mass message is sent by a single person and not necessarily meant to be replied to in a central location, so I am becoming less concerned with indicating the message's origin (though I do still think the hidden comment is a good idea at minimum). Primefac (talk) 20:09, 11 March 2024 (UTC)[reply]
The invisible comment is automatically generated by the MassMessage. I might add a note just below the header. — Qwerfjkltalk 21:17, 11 March 2024 (UTC)[reply]
Sure, that's fine. I think when I approve this I'll leave it open-ended to allow for changes to the hatnote to be made as-needed (i.e. if there's more feedback about how to word/link/show it). Primefac (talk) 17:29, 12 March 2024 (UTC)[reply]
Approved. As discussed above, the important part is copying the original message itself. If the "copied from" hatnote needs modification or removal (or something else) then it can be handled without any modification of this task. Primefac (talk) 12:43, 13 March 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.
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 Approved.
Function details:Simple bot that precisely figures out the pages needing a purge (see quarry:query/77493) and only purges them.
It's not clear if the existing AfC purge bot operated by User:ProcrastinatingReader works. As of writing there are 874 pages that should have been in Category:AfC_G13_eligible_soon_submissions but are not.
Approach used by the existing bot is to try purge all pages in AfC categories which are too many in number so has caused issues. The approach followed here is more scalable, and also avoids triggering a re-purge if ProcBot has already been through them. Purge pages which are listed on User:SDZeroBot/Purge list.
I don't know much about bots and how they operate but I will add to this discussion that SDZeroBot's list for expiring drafts (CSD G13) turns up a great deal more drafts and user page drafts than those that appear in Category:AfC G13 eligible soon submissions. I don't know why there is this discrepancy but SDZeroBot's list is much more complete. Because admins handling CSD G13s stay on top of their expiration dates, the AFC G13 category isn't as important as it used to be. Previously, regular editors would use this category to tag expiring drafts for speedy deletion but this practice doesn't happen as frequently as in years past. But still, if this category is going to exist, then it's best that it's up-to-date. LizRead!Talk! 00:35, 24 October 2023 (UTC)[reply]
Approved for trial (30 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I realise this has no tangible output, but I suppose that's kind of the point. As long as it's doing what it should be doing, and not what it shouldn't be doing, I have no issues with approving this at the end of the trial. Primefac (talk) 09:18, 24 October 2023 (UTC)[reply]
Much of the code was written but the trial wasn't started. I came to know that the API supports a forcerecusivelinkupdate=1 param, which purges all pages transcluding {{AfC submission}} in one request. That makes the usefulness of this bot task rather questionable. It might be better to have a more generic and user-controlled bot. I am thinking of having a bot task that listens to edits to User:SDZeroBot/Purge list and purges any pages that people put in it. The {{database report}} template can be used to feed any list instead of just quarry:query/77493. The above can't be done with User:ProcBot/PurgeList as it doesn't support one-off purges (which from an implementation perspective is quite different from periodic purges). Even if it could be supported there, I'm seeing some scope here for a second purge bot given the generally troublesome nature of purge bots (they always seem to run into issues) – people can use one if the other doesn't work. Besides, I have quite a bit of the code written out ;) @Primefac let me know if this is okay for trial with this revised functionality. – SD0001 (talk) 16:33, 31 December 2023 (UTC)[reply]
Sure, go for it. Primefac (talk) 16:36, 31 December 2023 (UTC)[reply]
Trial complete. Seems to work as far as the API calls made by the bot are successful. Many pages still get listed on the Purge list again the next day, which indicates they didn't actually get purged, but I can't see anything wrong being done from my end. It seems to be a general MediaWiki issue with mass purges which as I recall @Wbm1058 faced as well with Bot1058. – SD0001 (talk) 17:29, 31 January 2024 (UTC)[reply]
Purging was broken in MediaWiki from September until earlier this month, but has mostly been fixed, and should be completely fixed soon. See T351729 and T354460. – wbm1058 (talk) 18:40, 31 January 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.
Function overview: This task checks the Top 25 Report page frequently to see if the current report has updated. If it was updated, then it will go through all pages in the new report and add or update the Template:Top 25 Report template on their talk pages.
Function details: This task first checks the page Wikipedia:Top 25 Report to see if the transcluded link was modified. (This should mean that the report was updated.) If it has, then it uses the first revision of the transcluded page, which is always a basic list, to get a list of article talk pages to modify. It then goes through each talk page, updating the Template:Top 25 Report template if it exists and adding it if not. As for exclusion compliance, I have not added that feature in yet.
Discussion
The Top 25 report is updated weekly. Why does this task need to run twice a day? Primefac (talk) 09:08, 14 June 2023 (UTC)[reply]
I wanted to ensure that the template is added quickly. I've changed it to daily, and if it should be longer then you can tell me. Capsulecap (talk • contribs) 14:24, 14 June 2023 (UTC)[reply]
Additionally, some reports (including the one for last week) are finished late, and do not get added until later on. I wanted to ensure that the pages on the report get the template on their talk page. If the next report is done on time, then the maintainers of the report will replace the transclusion to the late report with the new one less than a week after the old report replaced the one before it. I agree that twice a day was a bit too excessive. Daily should be fine. Capsulecap (talk • contribs) 14:28, 14 June 2023 (UTC)[reply]
Capsulecap is right about this. And task need to run twice a day.--BabbaQ (talk) 15:58, 14 June 2023 (UTC)[reply]
@Capsulecap: Hi. What would happen if the same article comes in top 25 report again, say with a gap of four months? —usernamekiran (talk) 17:21, 21 June 2023 (UTC)[reply]
If that happens, then there will be no difference from if it was featured twice with more than a four month gap. There is nothing that says to do anything different for pages on T25 which are featured multiple times in a small timespan, and pages like Talk:ChatGPT feature multiple such examples. Capsulecap (talk • contribs) 23:56, 21 June 2023 (UTC)[reply]
Approved for trial (1 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I'm trying to wrap my head around what's this bot supposed to do exactly, so I'm going to approve it for a one-time run of 1 day. This should give me (and perhaps others) a better idea of what this is about. Headbomb {t · c · p · b} 17:34, 2 July 2023 (UTC)[reply]
@Headbomb: Although I did a trial run, the bot made test edits with numerous errors. I have fixed the code causing these issues, and will (with permission) restart the trial when the next report comes in. Capsulecap (talk • contribs) 19:51, 3 July 2023 (UTC)[reply]
@Capsulecap: can you link to the results nonetheless? Headbomb {t · c · p · b} 21:46, 3 July 2023 (UTC)[reply]
See edits 4 through 29. Note that the newest three edits were a test run for a fix to something which happened in Talk:Elemental (2023 film), and that many incorrect edits were caused by other editors modifying talk pages to add the template before the test run was done. Although the bot will not add redundant templates assuming that nobody adds the top 25 placement before it, I am considering adding redundancy protection. One problem — the one on the page about the Titan submarine incident — was one I didn't think of, as the talk page was moved with the main page, causing the top 25 report template to be placed on a redirect instead of the actual talk page. This is a problem I am working on fixing, as I have noticed that "current events" pages that show up on the report often frequently get moved. The bot also ended up creating the page "Talk:Errible things in Russia, the North Atlantic and HBO have the most attention this week.", but I fixed the source issue and tagged the page for CSD. few of the edits are fine, and most would be fine if there was redundancy protection or if the top 25 templates didn't already have the week in there. One question, though — since the bot will run daily, and people wouldn't need to modify top 25 templates anymore — should I implement redundancy protection? Capsulecap (talk • contribs) 02:46, 4 July 2023 (UTC)[reply]
"Should I implement redundancy protection" I would say that's a good idea, regardless of how often it comes into play. Headbomb {t · c · p · b} 02:52, 4 July 2023 (UTC)[reply]
I just finished implementing the redundancy protection along with the redirect traversal stuff. The bot should work just fine now. Do I have to redo the trial? Capsulecap (talk • contribs) 04:35, 4 July 2023 (UTC)[reply]
Trial complete.See 21 most recent contributions. Out of the 25 pages in the June 25th to July 1st edition, 21 pages were correctly edited, two pages (Talk:Money in the Bank (2023) and Talk:Titan submersible implosion) were not edited because of unexpected and likely erroneous formatting in the report's first revision (a space was in place of the usual tab after those two pages' titles), and two pages were not edited as they already had this week in their templates. For context on those two pages which didn't get the template on accident, the first revision of the report is always an imported set of tab delimited data — in this case, spaces were in place of tabs for the names of those two articles. The bot created two new talk pages on accident, which I quickly tagged for CSD. Capsulecap (talk • contribs) 05:48, 7 July 2023 (UTC)[reply]
Update: I've come up with a solution to this problem and will be implementing and testing it soon. This is the last issue which I will have to fix. Capsulecap (talk • contribs) 16:26, 7 July 2023 (UTC)[reply]
Approved for extended trial (25 edits or 7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. One week's worth, or 25 edits, whichever you need. Headbomb {t · c · p · b} 17:16, 7 July 2023 (UTC)[reply]
Trial complete. See See 25 most recent contributions. This time, I verified that all edits the bot would make would be correct on a script that had editing commented out. They were all good edits, so I ran the full script. All 25 pages on the report had the template added or changed on their talk pages. Capsulecap (talk • contribs) 01:57, 15 July 2023 (UTC)[reply]
Most seemed fine, but there was this that stood out.
I noticed that and didn't pay much attention to it as it was merely cosmetic. Since that was considered problematic, I'll get to fixing that and keeping the collapse as the last edit. Capsulecap (talk • contribs) 14:57, 21 July 2023 (UTC)[reply]
For testing you can revert to a prior state and unleash the bot on it. Headbomb {t · c · p · b} 16:17, 21 July 2023 (UTC)[reply]
Well... the collapsed stuff is handled correctly, but now it's inconsistent the other way around. It should list the ranks when they're there, or omit them when they're not.
Or, probably a better idea, update old listings to list the ranks, e.g. [1]. You might need some discussion before though. Headbomb {t · c · p · b} 20:18, 21 July 2023 (UTC)[reply]
I think it's a good idea to retroactively add the rankings to the templates, but I'm not sure of where to obtain consensus for that, and it would either require a bot task or lots of manual work. The other way you listed is probably easier, but causes inconsistency between pages. Something else I thought of is a Lua module that automatically grabs the placements, but I'm not sure if such a thing is supported. Capsulecap (talk • contribs) 20:30, 21 July 2023 (UTC)[reply]
What if it deleted what was there first, then re-added the template with all dates and ranks? In the same edit that is. Headbomb {t · c · p · b} 20:46, 21 July 2023 (UTC)[reply]
It could work, but I think I would have to submit a separate bot task for that. A separate (and much simpler) approach would be to add a "ranks" parameter that does nothing to the bot category. If set to yes, then the bot will add ranks when it updates the report. Otherwise or if unset, the bot will only add the date. This maintains consistency within talk pages, but not between talk pages; the latter would require consensus strongly towards either using ranks or not. Capsulecap (talk • contribs) 21:03, 21 July 2023 (UTC)[reply]
Approved for extended trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Indeed, consistency within talk pages is usually a lesser threshold to clear. I'm giving you trial for that (make sure to include a mix of both types of edits), but if you want to have that (should we always rank things) discussion first, you can also wait for consensus to emerge before trialing. Headbomb {t · c · p · b} 21:11, 21 July 2023 (UTC)[reply]
Yes, I am. Have taken a long break from editing but I never canceled this bot project. Capsulecap (talk • contribs) 15:44, 21 October 2023 (UTC)[reply]
Yes. As I said a long time ago, I wasn't really maintaining activity onwiki or paying attention to this page. I've decided to come back to wikipedia at some point in the near future (within 1-2 months) but I can add the features to the project. Thanks for reaching out. Capsulecap (talk • contribs) 22:27, 5 January 2024 (UTC)[reply]
@Primefac: I've added support for that ranks attribute, as is seen in the 5 most recent bot edits, all of which are to my test pages. I've also created support for converting preexisting top25 templates of the alternate form into regular form top 25s, and made it so top 25 report templates longer than 800 bytes are collapsed. I will test the bot once the report is switched to the current week, which should be on Saturday or Sunday. Capsulecap (talk • contribs) 01:34, 6 January 2024 (UTC)[reply]
@Primefac: Status: Current run had too many problems to use as a final trial. Fixed 2 bugs here. Should be ready to be released any week now. Capsulecap (talk • contribs) 03:27, 15 January 2024 (UTC)[reply]
@Primefac: Status: Apparently what I said above was wrong. The bot works fine on the average page but I forgot to put the ranks parameter on new templates. That has since been fixed. However, there are several larger problems that I discovered on this run — the bot broke another bot's template that was split over two lines (how rude of it!), and the entries in the report were changed from the first entry, necessitating me to delete templates from two talk pages. For some reason it also ignored the page Franz Beckenbauer in the first revision, but that shouldn't be a problem once I manage to switch over to using the newest revision with tables. Also created a list at User:CapsuleBot/Todo. Capsulecap (talk • contribs) 02:36, 20 January 2024 (UTC)[reply]
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.
- Filtering articles that do not have a Navbox corresponding to their district. (The heuristics I used to get to the 3300 number is by checking if a template with the name of the district existed in the page)
- Adding appropriate navbox related to the district to which the village belongs.
Discussion
Could you please give an example or two of an edit the bot would be performing? (please do notping on reply) Primefac (talk) 08:36, 7 June 2023 (UTC)[reply]
@GoingBattyYermal does show up in Category:Villages in Udupi district and benefits from being linked to a bunch of other articles via the Navbox. That being said, I did not see that it was not linked in the Navbox, and it maybe we can expand the scope to add the article to the navbox as well ? Sohom (talk) 00:42, 13 June 2023 (UTC)[reply]
@Sohom Datta: If it is appropriate to add the article to the navbox, then it is appropriate to add the navbox to the article, per WP:BIDIRECTIONAL. GoingBatty (talk) 01:05, 13 June 2023 (UTC)[reply]
Yes, WP:BIDIRECTIONAL is important here. Anytime a navbox is added to an article, it should already be wikilinked in the navbox. It would be out of policy to add navboxes to articles that aren't in the navbox. –Novem Linguae (talk) 05:44, 2 November 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 09:37, 14 June 2023 (UTC)[reply]
Noting here, I'll be traveling till the end of June, will run the trial once I'm back. Sohom (talk) 02:57, 25 June 2023 (UTC)[reply]
This appears to have fallen off my radar, will run the trial in a bit Sohom (talk) 14:07, 27 September 2023 (UTC)[reply]
@Sohom Datta: Have you had a chance to look at this? Anything we can do to assist? — The Earwig (talk) 05:35, 17 November 2023 (UTC)[reply]
Not yet I'm afraid :( Will take a look this weekend to see if I have time to implement it. Sohom (talk) 20:05, 22 November 2023 (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) It has been more than a month since the last post, is this trial still ongoing? Primefac (talk) 13:26, 31 December 2023 (UTC)[reply]
Request Expired. No reply after a fortnight. Primefac (talk) 07:38, 15 January 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.
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.
Function details: The bot will extract the title and artist of each chart's current number-one song/album from the official Billboard website, combine them into a wiki-friendly format and insert the final product into the "current number-one" statement found in the chart's corresponding article.
Discussion
Approved for trial (21 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. In other words, three full updates. Primefac (talk) 08:43, 7 June 2023 (UTC)[reply]
@Philroc: Looks like it's been a while, have you had a chance to start working on this? — The Earwig (talk) 06:53, 17 November 2023 (UTC)[reply]
@The Earwig: Sorry, real life's been getting in the way. I should have some trial results ready before the new year. Philroc (talk) 07:38, 17 November 2023 (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) It has been more than a month since the last post, is this trial still ongoing? Primefac (talk) 13:26, 31 December 2023 (UTC)[reply]
Request Expired. No reply after a fortnight. Primefac (talk) 07:37, 15 January 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.
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.
Function overview: Generates reports and alert lists for source usage. Initially for the Vaccine safety project but with plans to support future WikiProjects.
Prepares reports of frequent usage of unrecognized domains in articles, as well as usages of "flagged" domains in articles. "Flagged" means the article is known to be of poor or mixed reliability. There will be other reports in the future. Example: Wikipedia:Vaccine safety/Reports
Prepares alerts based on these reports. Alerts are summaries of new changes to the report, like a notification. Example: Wikipedia:Vaccine safety/Alerts
non-bag comment: the task seems to be non disruptive, and helpful. I don't see any issues with giving it a trial, especially given Harej's credibility. —usernamekiran (talk) 22:51, 27 May 2023 (UTC)[reply]
Approved for trial (50 edits or 28 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 08:39, 7 June 2023 (UTC)[reply]
Primefac, I am just now seeing this, can I restart the clock on the trial? Harej (talk) 17:48, 17 July 2023 (UTC)[reply]
It hasn't started yet if you haven't started yet. Primefac (talk) 08:31, 18 July 2023 (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) It has been more than a month since the last post, is this trial still ongoing? Primefac (talk) 13:26, 31 December 2023 (UTC)[reply]
Request Expired. No reply after a fortnight. Primefac (talk) 07:37, 15 January 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.
Function details: Go through Category:Unassessed articles (only deals with articles already tagged as belonging to a project). If an unassessed article is rated as a stub by ORES, tag the article as a stub. Example
Discussion
Note: This bot appears to have edited since this BRFA was filed. Bots may not edit outside their own or their operator's userspace unless approved or approved for trial. AnomieBOT⚡ 00:10, 28 March 2023 (UTC)[reply]
^. Also, may potentially be a CONTEXTBOT; see Wikipedia:Stub: There is no set size at which an article stops being a stub.EpicPupper (talk) 23:04, 30 March 2023 (UTC)[reply]
The Bot run only affects unassessed articles rated as stubs by mw:ORES. The ORES ratings for stubs are very reliable (some false negatives – which wouldn't be touched under this proposal – but no false positives). Hawkeye7(discuss) 00:03, 31 March 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Sounds reasonable as ORES is usually good for assessing stub articles as such. – SD0001 (talk) 11:41, 1 April 2023 (UTC)[reply]
Y Bot run with 50 edits. No problems reported. Diffs: [3]. Hawkeye7(discuss) 00:42, 18 April 2023 (UTC)[reply]
Comment: Some behavior I found interesting is that the bot is reverting start-class classifications already assigned by a human editor, and overriding those with stub-class. [4] and [5]EggRoll97(talk) 03:28, 18 May 2023 (UTC)[reply]
This should not be happening. Frostly (talk) 03:58, 18 May 2023 (UTC)[reply]
The question is: what should be happening? The article were flagged because some of the projects were not assessed. Should the Bot (1) assess the unassessed ones as stubs and ignore the assessed ones or (2) align the unassessed ones with the ones that are assessed? Hawkeye7(discuss) 04:21, 18 May 2023 (UTC)[reply]
Per recent consensus assessments should be for an entire article, not per WikiProject. The bot should amend the template to use the article wide code. If several projects have different assessments for an article it should leave it alone. Frostly (talk) 05:03, 18 May 2023 (UTC)[reply]
@Hawkeye7: Courtesy ping, I've manually fixed up the edits where the bot replaced an assessment by a human editor. 6 edits total to be fixed out of 52 total edits. EggRoll97(talk) 07:16, 18 May 2023 (UTC)[reply]
{{BAG assistance needed}} This has been waiting for over 2 months since the end of the trial, and over 4 months since the creation of the request. Given the concerns expressed that the bot operator has since fixed, an extended trial may be a good idea here. EggRoll97(talk) 05:19, 8 August 2023 (UTC)[reply]
My apologies. I have been very busy. Should I run the new Bot again with a few more edits? Hawkeye7(discuss) 18:57, 15 October 2023 (UTC)[reply]
Approved for extended trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. – SD0001 (talk) 19:10, 15 October 2023 (UTC)[reply]
Yes. I wrote the bot using my C# API, and due to a necessary upgrade here, my dotnet environment got ahead of the one on the grid. I could neither build locally and run on the grid nor on build on the grid. (I could have run the trial locally but would not have been able to deploy to production.) There is currently a push to move bots onto Kubernetes containers, but there was no dotnet build pack available. The heroes on Toolforge have now provided one for dotnet, and I will be testing it when I return from vacation next week. If all goes well I will finally be able to deploy the bot and run the trial at last. See phab:T311466 for details. Hawkeye7(discuss) 22:54, 31 December 2023 (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) Primefac (talk) 20:10, 18 February 2024 (UTC)[reply]
Work was done in January and some changes made on Toolforge. Will resume the trial run when I get a chance. Hawkeye7(discuss) 23:33, 18 February 2024 (UTC)[reply]
Function details: Using the AmputatorBot API, replaces AMP links with canonical equivalents. This task runs on all pages with citation templates which have URL parameters (e.g. {{cite news}}, {{cite web}}, etc).
Discussion
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 10:27, 8 March 2023 (UTC)[reply]
Just noting that I'm working on this but it may take some time. EpicPupper (talk) 23:01, 30 March 2023 (UTC)[reply]
Been a bit busy IRL, but will get to this soon. Frostly (talk) 20:33, 25 June 2023 (UTC)[reply]
Primefac, my apologies, this flew off my radar. I'll work on setting up the bot on Toolforge this month and should have the results soon. — Frostly (talk) 06:13, 5 January 2024 (UTC)[reply]
I've made progress on uploading to Toolforge; just fixing a few bugs. — Frostly (talk) 03:36, 4 February 2024 (UTC)[reply]
There's been a few issues with the API that have been difficult to tackle; I think pivoting to self-hosting the API backend on Toolforge is a good solution (working on that this month). — Frostly (talk) 22:41, 21 February 2024 (UTC)[reply]
Bots that have completed the trial period
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 Approved.
Function details: This task supersedes the previous one by enlarging the scope of its operations. This bot task can:
Create Article history templates on talk pages with a GA/FailedGA/FA/etc template where information about DYK/ITN/OTD/peer review/etc can be folded in together
Remove standalone DYK/ITN/OTD/peer review templates by adding the information into an existing {{Article history}} template.
I will be gradually implementing additional functionality supporting more information to be folded in as time goes. As always, I will do some supervised edits before letting it process everything when I add new things, so consider this as a pro forma about its enlarging scope. Here are some supervised edits that I have carried out to test some of the new behavior: [6][7]
Discussion
Just a note - other approvals for same or similar tasks:
Glad to see this effort ongoing! Some questions and comments:
How will Deadbeefbot handle those many cases where the GA closer failed to add the oldid ? (It happens often.) Gimmetrow (Gimmebot} used to use an old Dr pda script which was able to look up the oldid based on the timestamp; it's not critical to have them if the closer didn't provide them, but just raising this for the sake of completeness.
Separately, maybe we can get someone to fix the GA template/script so that it won't allow a GA pass without providing an oldid. Not sure who to ask on this; Mike Christie?
The bot does try to add an oldid if the closer forgot. I just had a look through the last few passes and couldn't find a case where the closer didn't add an oldid, but as far as I recall it works correctly. Mike Christie (talk - contribs - library) 22:38, 2 November 2023 (UTC)[reply]
Is it possible roll otd date and time into one line ? See Talk:Guy Fawkes Night for a sample of how long they can get.
I am unclear why DYK is numbered; is more than one allowed and has it ever happened?
Before a certain date, DYKs did not have nom pages (just raising this for completeness).
Would it be better to fully spell out the GA link? That is Talk:Articlename/GA1 rather than just /GA1 so that the link won't be lost when pages move ?
I am confused about the role of APersonbot ... are they still doing anything? MilHistBot is Hawkeye7, so still maintained, but not sure if APersonBot is still doing any articlehistory stuff.
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. – SD0001 (talk) 07:42, 5 November 2023 (UTC)[reply]
Will come back to this probably this weekend. 0xDeadbeef→∞ (talk to me) 11:59, 6 December 2023 (UTC)[reply]
Trial complete. - detailed analysis here. Some specific notes about the trial:
Old peer reviews are hard to handle. Whether it was reviewed in the end cannot be determined through the template. I've come up with a heuristic that if the PR page has 6 or more edits, then it is definitely reviewed. Otherwise the bot will just not handle the talk page entirely. Old PR also doesn't always include an oldid of the article and date when the old PR was completed. The bot currently will carry over oldid if specified, but won't error out if not. At start of the trial, the bot automatically determined the date of the closure of old PR based on the timestamp of the last edit at the PR page, but this can be inaccurate since MalnadachBot and others may have made edits after the closure, so I made it to reject handling a page if OldPR doesn't have a date set (in the future i might turn it back on explicitly ignoring MalnadachBot or any other edit made over a year since the PR page was created)
If I understand it correctly, demoted FAs don't regain GA status even if it passed GA before. The bot made an error with this, but I noticed and fixed the bug.
I'm not entirely sure if we should fold in any article that doesn't have FailedGA/GA/Article history already, but has multiple of OTD/DYK/ITN. An example can be found here.
Currently handling always puts Article history right before the WP banner shell. This works on most cases but some articles don't have the WP banner. 0xDeadbeef→∞ (talk to me) 17:26, 20 December 2023 (UTC)[reply]
@SandyGeorgia: ping, would be nice to hear your thoughts on some of the above :) 0xDeadbeef→∞ (talk to me) 17:27, 20 December 2023 (UTC)[reply]
Not Sandy, but this looks really good. Yeah, old PRs are hard to handle, but tbh I don't think anyone really cares if it says reviewed/not reviewed. Rolling in OTD/DYK/ITN isn't necessary, but honestly there's nothing wrong with it. On your last point, I believe someone (probably User:Qwerfjkl (bot)?) is on a very long project to convert everything to WP banner shells, so that problem will probably be gone in the medium future. ~~ AirshipJungleman29 (talk) 12:42, 19 January 2024 (UTC)[reply]
I'm pretty sure an article that once was promoted to GA, later becomes an FA, and then is demoted at FAR, reverts back to the GA status because that was never revoked, just superseded. Hog FarmTalk 13:29, 19 January 2024 (UTC)[reply]
@Hog Farm: Hmm. Despite Warsaw Uprising (1794) being listed as GA, then promoted as FA, then delisted via FAR, there's nothing that suggests the article went back to a GA. No GA icon in the article, no GA status on the talk.. 0xDeadbeef→∞ (talk to me) 14:06, 19 January 2024 (UTC)[reply]
This is correct. An article which is promoted to FA loses its GA status permanently; it subsequently has to go through the GA status again. ~~ AirshipJungleman29 (talk) 15:29, 19 January 2024 (UTC)[reply]
I don't know why I thought otherwise was the case. Hog FarmTalk 22:00, 19 January 2024 (UTC)[reply]
{{bag assistance needed}} trial has demonstrated bot can work. I will just be conservative in counting what articles can be successfully maintained by the bot. 0xDeadbeef→∞ (talk to me) 16:02, 20 January 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.
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 Approved.
If there is a banner shell already on the page, then add |class= parameter and remove from project banners, e.g. [8]
If there is no banner shell, then add it and move class rating from project banners, e.g. [9]
If there are no assessments on page, then add empty |class= parameter to encourage editors to add a rating, e.g. [10]
If assessments of projects differ, then add the majority rating to the banner shell and leave any different assessments on those banners, e.g. [11]. These will be manually reviewed by human editors.
If assessments of projects differ, but there is no majority rating, then add banner shell with empty |class= parameter. These will be tracked and reviewed manually.
The bot will also replace redirects to wikiprojects with the actual template.
The bot will obey MOS:TALKORDER insofar as it is reasonable to do so (GIGO), including moving a pre-existing {{WikiProject banner shell}} (this can be changed if desirable).
Discussion
The bot does not handle duplicate wikiprojects. It will treat them as distinct. — Qwerfjkltalk 18:08, 19 November 2023 (UTC)[reply]
@Qwerfjkl: Hi. Is the source code publicly available (in your userspace or github)? With such a high number of pages effected, I think it should be. —usernamekiran (talk) 00:14, 20 November 2023 (UTC)[reply]
I've done a few live tests of this to ensure the code works, and I've fixed a few more bugs. These edits can be found here. — Qwerfjkltalk 19:17, 20 November 2023 (UTC)[reply]
@Qwerfjkl: Which namespaces would you include? Talk, category talk, draft talk, and file talk? GoingBatty (talk) 16:30, 30 November 2023 (UTC)[reply]
@Qwerfjkl: How does your code identify which templates are WikiProjects? Would it be beneficial to utilize User:Magioladitis/WikiProjects to convert redirects to {{WikiProject ...}} templates? GoingBatty (talk) 16:30, 30 November 2023 (UTC)[reply]
The template redirects are not listed in those categories. I think GoingBatty was asking how you can identify these redirects. — Martin (MSGJ · talk) 13:32, 1 December 2023 (UTC)[reply]
MSGJ, by checking WhatLinksHere and filtering it out by redirects in namespace 10 (Template). — Qwerfjkltalk 14:21, 1 December 2023 (UTC)[reply]
Okay thanks, that sounds reasonable — Martin (MSGJ · talk) 21:41, 1 December 2023 (UTC)[reply]
Please note that the module has been edited and now treats opt-out projects differently. It is no longer necessary to treat these banners differently, so I have struck point 8 above — Martin (MSGJ · talk) 14:37, 10 December 2023 (UTC)[reply]
MSGJ, I will update my code accordingly. — Qwerfjkltalk 15:12, 10 December 2023 (UTC)[reply]
MSGJ, okay, looking at this now, I assume this only holds if the opted-out WikiProject has a class that follows the standard quality assessments? That is to say, if the opted out WikiProject has a non-standard rating it still should be changed, is that right? — Qwerfjkltalk 10:51, 11 December 2023 (UTC)[reply]
If it has the same rating as the PIQA rating then it can be removed. If it has a different rating, then it should be retained. (This is the same as all other projects, except that it won't be tracked as a conflicting rating.) — Martin (MSGJ · talk) 11:34, 11 December 2023 (UTC)[reply]
MSGJ, okay, I've updated the code. By the way, is there a list of all the standard quality assessments somehwere? I just realised I should make sure the unified class is on the standard scale. — Qwerfjkltalk 11:39, 11 December 2023 (UTC)[reply]
GoingBatty, are there any class aliases I need to look out for? Currently the values I check for are 'fa', 'ga', 'a', 'b', 'c', 'start', 'stub', 'list', and 'fl'. — Qwerfjkltalk 16:01, 11 December 2023 (UTC)[reply]
@Qwerfjkl: I suggest upper case versions as well (e.g. "C", "Start"). GoingBatty (talk) 16:39, 11 December 2023 (UTC)[reply]
GoingBatty, I've already made sure it's case insensitive (and whitespace insensitive). — Qwerfjkltalk 16:41, 11 December 2023 (UTC)[reply]
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. In the interest of getting more eyes on this, please do not mark these as minor edits, and be sure to include a link to this page in the edit summary. Primefac (talk) 12:50, 14 December 2023 (UTC)[reply]
Primefac, I am truly sorry, but I seem to have cocked this up. I did not realise that pywikibot saves edits as minor, and somehow the edit-limiting part of the code seems to have failed. You can see the edits here. There are 321 of them, including 100 before I realised I had set the bot to edit exactly one page (and for some reason the bot stopped at exactly 100 there). Again, I apologise for this mess. Martin, you may wish to look over the edits and see if there are any undesirable changes. I have checked a few of them. Here are some mistakes I noticed:
Talk:Zaghloul - stripped the disambig class from a disambiguation page. This happens because it doesn't have a standard content assessment - not sure if this is desirable?
Talk:Aaron Welles - it left the invisible comments behind when moving the WikiProjects. Not much I can do about this.
This was just from a sample of the edits. I will fix these bugs soon. — Qwerfjkltalk 20:27, 14 December 2023 (UTC)[reply]
Not too bad at all.
The main issue I see is the insertion of multiple new lines after the banner shell. This happened on many edits.
Yes I saw one or two TALKORDER violations.
The Disambig issue is something we are still discussing so it might be safer to keep them in for now.
A couple of times, the edit was cosmetic because the bot removed the "1="
User:Kanashimi is going to merge all the vital article templates, so doesn't really matter what happens to them now.
— Martin (MSGJ · talk) 21:11, 14 December 2023 (UTC)[reply]
MSGJ, regarding the multiple new lines issue, can you give a diff to clarify what you mean? For the Disambig issue, would you also suggest keeping other page type classes e.g. File class, Draft class, Category class? Currently I'm only running it on the main talkspace, but I assume it will also need to be run on other talkspaces. I'll make sure the bot doesn't make any more cosmetic edits. — Qwerfjkltalk 21:31, 14 December 2023 (UTC)[reply]
[13] No, Disambig is the only one causing an issue to detect — Martin (MSGJ · talk) 21:43, 14 December 2023 (UTC)[reply]
Regarding the cosmetic issue, there isn't really an easy way to make sure the bot isn't making a cosmetic edit because it's doing so many different things. I'm not sure the added complexity would be worth it. — Qwerfjkltalk 12:42, 16 December 2023 (UTC)[reply]
MSGJ, regarding the insertion of multiple new lines after the banner shell, I believe I know what you're referring to, but could you provide diff where this happened? — Qwerfjkltalk 12:20, 16 December 2023 (UTC)[reply]
I already gave you the diff in the line above — Martin (MSGJ · talk) 14:26, 16 December 2023 (UTC)[reply]
MSGJ, sorry, my mistake. Anyway that's fixed now, and I believe I have now sorted out all of the bugs from the trial (most of them were more straightforward than I expected). — Qwerfjkltalk 14:35, 16 December 2023 (UTC)[reply]
Great, perhaps a further trial would be approved — Martin (MSGJ · talk) 08:41, 17 December 2023 (UTC)[reply]
Approved for extended trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Apologies, didn't realise this was out of trial and going needing to go back in. Primefac (talk) 14:16, 17 December 2023 (UTC)[reply]
It was mentioned to me that Cewbot 12 is basically running the same task, but with extra features. Do you see any reason that both tasks should be running concurrently? I've struck the extended trial for now until that gets answered. Primefac (talk) 18:29, 17 December 2023 (UTC)[reply]
┌───────────────────────────┘ Primefac, I believe the plan was for Cewbot to run on vital article talk pages and my bot would handle the rest. My code has already been tested in previous bot tasks (#19). I'm also unsure that Cewbot has exactly the same functionality has mine (but I'm on my tablet right now and the code is 2000 lines long, so I might have missed something). Specifically I don't think Cewbot obeys MOS:TALKORDER (though as I said, I'm not entirely sure about this). That said, if you feel it is unnecessary to have both bots run I will defer to your judgement. — Qwerfjkltalk 21:44, 17 December 2023 (UTC)[reply]
I think we can run together, after all, these templates a lot. cewbot follows MOS:TALKORDER, just for reference. Kanashimi (talk) 23:15, 17 December 2023 (UTC)[reply]
Fair enough. I've re-enabled the extended trial. Primefac (talk) 06:42, 18 December 2023 (UTC)[reply]
Primefac, Trial complete. See the latest edits here. There were a few minor bugs (such as here where it added leading whitespace). The only non-cosmetic one that I could see was on Talk:Judicial Commission of Pakistan, where it didn't add the class because it treated a newline as a valid class. The only other bug was it not adding a blank |class= where the talk page already had a WikiProject banner shell but didn't have |class=. I have fixed all of the bugs I found (described above). I also remembered not to make the edits minor this time. — Qwerfjkltalk 14:39, 18 December 2023 (UTC)[reply]
I'm not a bot operator but I noticed a non-cosmetic bug on Talk:Apple A14. I think reading the bot logic it should have added an empty class parameter for human assessment right? It just removed the 1=. PARAKANYAA (talk) 18:35, 18 December 2023 (UTC)[reply]
PARAKANYAA, yes, I noticed that one. I've fixed the bug. — Qwerfjkltalk 18:41, 18 December 2023 (UTC)[reply]
Looks good to me. Some minor issues:
Please use |class=GA instead of |class=Ga
On non-articles, there is no benefit in leaving the empty |class=
[14] Can line breaks in the listas and the next | be removed?
— Martin (MSGJ · talk) 21:07, 18 December 2023 (UTC)[reply]
MSGJ, can you clarify what you mean by the second one? All the talk pages are of articles. — Qwerfjkltalk 21:59, 18 December 2023 (UTC)[reply]
No? Redirects and disambiguation pages are not articles. Example — Martin (MSGJ · talk) 22:14, 18 December 2023 (UTC)[reply]
MSGJ, ah right, I see what you mean. Regarding the {{image requested}} being removed, should it be kept in the WPBS or moved outside (and similarly for other non-WikiProject templates in the WPBS)? — Qwerfjkltalk 07:07, 19 December 2023 (UTC)[reply]
Any non-project banners (i.e. not produced with Module:WikiProject banner) should be moved outside the banner shell ideally — Martin (MSGJ · talk) 09:28, 19 December 2023 (UTC)[reply]
Is it possible for the bot to consolidate the banners into one line? At [15] whoever added the banners added them in a non-conventional way, so now we are left with stuff like
{{WikiProject Rowing|importance=Low
}}
Not an issue if it can't, just a "could be nice" to fix while the bot is working. Gonnym (talk) 09:27, 19 December 2023 (UTC)[reply]
Gonnym, this is kind of a GIGO situation that probably isn't worth fixing (I don't think it would be trivial to do so). — Qwerfjkltalk 15:09, 19 December 2023 (UTC)[reply]
Yeah, I had a feeling. Anyways, good job on the rest! Gonnym (talk) 15:12, 19 December 2023 (UTC)[reply]
I agree that would be nice. However there are banners which use a lot of parameters (e.g. MilHist) that display on multiple lines (example below). I don't think it would be received well if these parameters were bunched up
{{WPMILHIST|class=Start
<!-- B-Class 5-criteria checklist -->| B1 <!-- Referencing and citations --> = n
| B2 <!-- Coverage and accuracy --> = n
| B3 <!-- Structure --> = n
| B4 <!-- Grammar and style --> = y
| B5 <!-- Supporting materials --> = y
|Historiography-task-force=yes}}
— Martin (MSGJ · talk) 12:44, 19 December 2023 (UTC)[reply]
MSGJ, I have now fixed all of those bugs. I have also updated the code to remove |class= from WikiProjects where it is empty, is this desirable? — Qwerfjkltalk 15:08, 19 December 2023 (UTC)[reply]
Break
Will your bot make edits like this? Although it is cosmetic, I think it would be beneficial because it discourages editors from using the class parameter in individual banners — Martin (MSGJ · talk) 12:41, 19 December 2023 (UTC)[reply]
MSGJ, yes. It will override whatever class value the old WPBS had, if it can find one on the majority of WikiProjects that is different to the WPBS' one. — Qwerfjkltalk 15:12, 19 December 2023 (UTC)[reply]
I don't understand your answer. In the example I gave, the WPBS already had class=start. I am asking if the redundant ones will be removed or if the bot will pass over this page? — Martin (MSGJ · talk) 17:14, 19 December 2023 (UTC)[reply]
I do hope the bot will not be overriding the WPBS parameter in any event. That is for humans to review, if there is a conflict. — Martin (MSGJ · talk) 17:15, 19 December 2023 (UTC)[reply]
Yes, the bot would remove the class parameters from the wikiprojects in that event.
The bot will override a pre-existing WPBS class if the one it finds is different from the one in the WPBS. (I assumed the one from the wikiprojects is more likely to be corrrect.) If this is undesirable I can change that.
Yes, that should not happen. If there is a |class= in WPBS then that has already been set by a human editor. — Martin (MSGJ · talk) 17:23, 19 December 2023 (UTC)[reply]
@Qwerfjkl: the |living= or |blp= parameter can now be migrated to the banner shell, or just removed if it is already there (example) — Martin (MSGJ · talk) 18:27, 22 December 2023 (UTC)[reply]
MSGJ, the bot already adds it to WPBS. Do you mean it should also be removed from WPBIO? — Qwerfjkltalk 18:35, 22 December 2023 (UTC)[reply]
Also, I assume this now applies no matter what value it has? Currently it only looks for "y" or "yes". — Qwerfjkltalk 21:20, 22 December 2023 (UTC)[reply]
Yes |blp=no would be useful on biographies I think. It doesn't actually do anything but we can use it to track missing uses — Martin (MSGJ · talk) 21:48, 22 December 2023 (UTC)[reply]
MSGJ, so what it would do is this: Remove |blp= or |living= from WPBIO. If WPBS has |blp=, stop there. Otherwise, if |blp=yes add that to the WPBS. If |blp=no and the article is a biography (which it will be because WPBIO is present) add that to the WPBS. If |blp= is anything else it will totally removed. It will always be removed from WPBIO. One other thing, what's the preferred class for disambiguation pages? I'm unsure which alias to use. — Qwerfjkltalk 22:26, 22 December 2023 (UTC)[reply]
That shouldn't happen after my recent change GoingBatty — Martin (MSGJ · talk) 17:52, 23 December 2023 (UTC)[reply]
MSGJ, please can you confirm I've got it right above, and answer my question? — Qwerfjkltalk 22:24, 23 December 2023 (UTC)[reply]
That all looks good to me Qwerjkfl. I think we can use |blp= instead of |living=. Disambiguation pages will be automatically detected, so should not need a class in that case. — Martin (MSGJ · talk) 22:11, 26 December 2023 (UTC)[reply]
MSGJ, ah, so we can now remove the class for dabs? Great. As |living= is an alias of |blp=, I assume I should treat it the same i.e. if WPBS has |living= I wouldn't add |blp= or change anything in the WPBS. — Qwerfjkltalk 10:45, 27 December 2023 (UTC)[reply]
I'm also slightly concerned in cases like:
WPBIO has a different value from WPBS, so WPBIO's value will be removed, ignoring the conflicting values
WPBIO has an unexpected value (not "y", "yes", "n" or "no"), which would be removed
Just want to make sure I've got this right now so it doesn't cause issues later down the line. — Qwerfjkltalk 10:49, 27 December 2023 (UTC)[reply]
Not exactly sure what is best. I can set up a tracking category for these if you think it's needed? — Martin (MSGJ · talk) 22:58, 30 December 2023 (UTC)[reply]
The method I use is to move it as is without conflict to avoid incorrect speculation. The tracking category can be added to WPBS. Kanashimi (talk) 23:41, 30 December 2023 (UTC)[reply]
Yes, that works too. But can I suggest using |blp= rather than |living= (even though the latter is an alias of the former)? — Martin (MSGJ · talk) 17:45, 31 December 2023 (UTC)[reply]
┌──────────────────────────────┘ MSGJ, I've done that. It will not switch |living= over to |blp=, but it will prefer to use |blp= when adding it to the WPBS. — Qwerfjkltalk 17:47, 31 December 2023 (UTC)[reply]
That's great — Martin (MSGJ · talk) 17:49, 31 December 2023 (UTC)[reply]
{{BAG assistance needed}} I have just approved Cewbot 12, as it seems to have passed its trials with more aplomb than this task. I am looking for a second BAG opinion as I do not see a great need to approve both bots to do the same task, other than maybe the fact that the scope is essentially "every talk page with a banner shell". Primefac (talk) 13:36, 31 December 2023 (UTC)[reply]
Primefac, I have now extensively tested this by doing dry runs (i.e. without editing). I am fairly confident there should be no more (significant) bugs. There may be some minor cosmetic ones / GIGO ones, but nothing that would really change anything. At https://public-paws.wmcloud.org/User:Qwerfjkl%20(bot)/PIQA.ipynb you can see a log of the most recent of these test (they are wiped every time I rerun the code). — Qwerfjkltalk 17:42, 31 December 2023 (UTC)[reply]
I believe it would be a good idea to have a second bot approved for this task, mainly because of the huge number of pages to be touched, sharing responsibility and avoiding reliance on one operator. I support the ramped deployment that Cewbot is using. — Martin (MSGJ · talk) 09:43, 4 January 2024 (UTC)[reply]
I had already cross-posted to BOTN so there wasn't much point. Primefac (talk) 14:23, 6 January 2024 (UTC)[reply]
A error has come to light and I have reinstated point 8 of the function details. Sorry for any confusion but what I wrote earlier was not quite accurate. — Martin (MSGJ · talk) 16:52, 2 January 2024 (UTC)[reply]
MSGJ, I have restored the code for that. — Qwerfjkltalk 16:56, 2 January 2024 (UTC)[reply]
Approved. I would ask that you start slowly (maybe batches of <1000 per day) at the outset just to make sure any lingering issues that weren't seen in the trials can be dealt with. Primefac (talk) 14:23, 6 January 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.
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 Approved.
Function details: Fix WikiProject template parameters (e.g. impotance → importance, importancelow → importance=low) and remove unsupported WikiProject template parameters to remove pages from subcategories of Category:WikiProject templates with unknown parameters. Before removing any parameters, I will manually check the WikiProject template documentation and source code to confirm the parameter is not supported, and manually report any technical issues I discover (e.g., this conversation). This bot will not be able to fix every issue, but removing the low-hanging fruit should make it easier for editors to find those pages that need to be fixed manually. This bot task would also utilize User:Magioladitis/WikiProjects and AWB's general fixes. GoingBatty (talk) 23:28, 24 November 2023 (UTC)[reply]
Discussion
Just to confirm, you aren't simply removing invalid parameters, you're attempting to fix the most common/obvious errors so that manual cleanup is easier. Yes? Primefac (talk) 12:47, 14 December 2023 (UTC)[reply]
@Primefac: Yes, and I plan to help with the manual cleanup. GoingBatty (talk) 15:41, 14 December 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 14:07, 17 December 2023 (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.
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 Approved.
Function details: The television maintenance category lists episode list articles in which articles use raw wikicode for italicizing Story and Teleplay credits. Using a series of regex patterns that have been already tested using manual AWB, the bot task converts the raw wikicode to use {{StoryTeleplay}}.
Discussion
Approved for trial (25 edits or 14 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. It looks like we won't have a ton of edits, so this is a small trial, but ideally we can test as much as possible. — The Earwig (talk) 06:20, 17 November 2023 (UTC)[reply]
Trial complete. We didn't get a ton of edits during the 14 day window. We could go longer if necessary. Here are the current edits: [16] I'll keep watching the maintenance category and run it accordingly. ButlerBlog (talk) 14:43, 17 December 2023 (UTC)[reply]
Yes - I believe I had left the AWB genfixes turned on, otherwise, it would (should) skip. So I'll make sure skip if only genfixes is enabled. (I'll also review as to why it missed the edits it should have picked up) ButlerBlog (talk) 20:47, 31 December 2023 (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.
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 Approved.
Estimated number of pages affected: Talk pages including WikiProject templates. (['Category:WikiProject banners without quality assessment', 'Category:WikiProject banners with quality assessment', 'Category:Inactive WikiProject banners'] - ['Category:WikiProjects using a non-standard quality scale'])
The goal of this task is to be the main operator for the additions described above, and to work with Qwerfjkl (bot) for the rest. Also, User:MSGJ, I'm a bit curious, since we've transferred all the important functionality of {{WikiProject Biography}} to the {{WikiProject banner shell}} template, can we just remove {{WikiProject Biography}}, just like we do with {{Vital article}}? --Kanashimi (talk) 14:07, 3 December 2023 (UTC)[reply]
WPBiography does quite a lot more than that. And I think this task is already complex enough, shall we focus on the matter at hand? May be a project for the future though. — Martin (MSGJ · talk) 20:43, 3 December 2023 (UTC)[reply]
Just to note my support for this task, and confirm it fits within all recent discussions we have had on how to merge the {{vital article}} template. My thanks to Kanashimi for taking this on. One small note on 3 above: there was a clash in ratings - would it be better for a human editor to review cases like this, rather than overwrite one of the ratings? You could transfer the rating from {vital article} and leave the rating on the other template. That will automatically place the page in Category:Articles with conflicting quality ratings which is monitored. — Martin (MSGJ · talk) 20:53, 3 December 2023 (UTC)[reply]
[23] - did not add |vital=yes. Also it did not transfer the |listas= to the shell.
[24] - did not remove |class=start from other banners
[25] - can you remove |class=B from the banners which agree with the PIQA rating? (Keep the C-class for human review.)
[26] - did not add |vital=yes, did not transfer the |listas= value, did not remove class from conforming banners
Also, I know you are an experienced bot operator, but I believe you are supposed to wait for BAG to approve a trial before doing the trial? — Martin (MSGJ · talk) 12:49, 5 December 2023 (UTC)[reply]
Thank you for your comments. #1,2,4 are algorithmic problems and are fixed. As for #3, I have included it in practice. For the PIQA part, I'll wait for test approval. Kanashimi (talk) 13:47, 5 December 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.Primefac (talk) 12:44, 14 December 2023 (UTC)[reply]
@Primefac @MSGJTrial complete. Please look at here. (Please search for "PIQA" and "Maintain vital articles") It seems that my design goal has been achieved. Please let me know if there is anything I can do to improve it, thank you. Kanashimi (talk) 14:15, 14 December 2023 (UTC)[reply]
I've checked every edit on the first page, and could not see any errors. Just one suggestion: shall we bypass any redirects to {{WikiProject banner shell}} at the same time? — Martin (MSGJ · talk) 15:04, 14 December 2023 (UTC)[reply]
Sorry, could you be a little more specific? Kanashimi (talk) 22:17, 14 December 2023 (UTC)[reply]
E.g. replace WikiProjectBannerShell with WikiProject banner shell — Martin (MSGJ · talk) 22:20, 14 December 2023 (UTC)[reply]
I think it's a good idea. I'll fix it. [27]Kanashimi (talk) 22:32, 14 December 2023 (UTC)[reply]
Also, you could remove any duplicate listas value (example), but not that important — Martin (MSGJ · talk) 16:24, 14 December 2023 (UTC)[reply]
@Kanashimi: the |living= or |blp= parameter can now be migrated to the banner shell, or just removed if it is already there (example) — Martin (MSGJ · talk) 19:19, 22 December 2023 (UTC)[reply]
Yes, at that time I was adjusting the code for duplicate templates. It's working now. [31] All these parameters will be moved from WPBIO to WPBS: 'living', 'blp', 'BLP', 'activepol', 'blpo', 'listas' (adjustable). Kanashimi (talk) 23:42, 22 December 2023 (UTC)[reply]
@Primefac@MSGJ I was thinking that since there seems to be no problem now, maybe we could go ahead and approve the application? Kanashimi (talk) 06:04, 26 December 2023 (UTC)[reply]
Yes, it would be great to get these tasks approved. @Primefac, what do you think? — Martin (MSGJ · talk) 20:50, 29 December 2023 (UTC)[reply]
(layperson comment) @Kanashimi, what will Cewbot do in the event that two identical WikiProject banners have conflicting parameters? Will it leave them in Category:Pages using WikiProject banner shell with duplicate banner templates for processing by a human (off the top of my head, this seems like it may be best)? This question came to my mind due to noticing that some articles had two {{GOCE}} templates that - when merging them - required parameters to be modified, however there may well be other examples I’m not aware of - hence the question. Best, —a smart kitten[meow] 13:27, 26 December 2023 (UTC)[reply]
If the templates have conflicting parameter values, I'll leave it to manual processing. Kanashimi (talk) 13:29, 26 December 2023 (UTC)[reply]
Approved.Kanashimi, I would ask that you start slowly (maybe batches of <1000 per day) at the outset just to make sure any lingering issues that weren't seen in the trials can be dealt with. Primefac (talk) 13:34, 31 December 2023 (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.
Function details:{{Wikisource author}} recently was updated to allow for a |lang= parameter to link directly to non-English versions of wikisource for an author. A similar template, {{Wikisourcelang}}, links to a generic search on said language wiki for said author. This task will change {{Wikisourcelang|<lang>|otherstuff}} into a {{Wikisource author|lang=<lang>|otherstuff}} call.
Discussion
{{BAG assistance needed}} valid request not attended by any BAG members for almost two months. —usernamekiran (talk) 23:02, 29 June 2023 (UTC)[reply]
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
This seems pretty straightforward. Let's go to trial.
Trial complete.Edits. As a note, I did not run genfixes just to make the proposed change more obvious, but if this task does proceed I will be running genfixes alongside them.
Piotrus, I think this request is a little more convoluted than initially requested. Languages such as de do not use an "author" prefix (see e.g. Adolph Friedrich Johann Riedel and his corresponding page on de Wikisource), but I can't figure out which languages it holds to. I am not necessarily seeing a specific pattern between what languages do and do not. My thoughts are of two possibilities - run this task only for languages where the proposed change has the intended effect, or just scrap this BRFA and do these changes manually. Primefac (talk) 12:52, 4 July 2023 (UTC)[reply]
@Primefac I think we can run it for some languages that we can determine now, it shouldn't be that hard as long as it is consistent for each language (ex. German never uses, Polish always uses it, etc.). We could create a list for all languages that wikisource exists on, or just run it for now for some editions that are the biggest (ex. the ones with interwikis here). I did some checks and it seems it's pretty consisten - just a wikisource naming convention. Note that depending on the language, the "author" prefix is different - Polish is "autor". Swedish is "Författare", etc. In the end, what we need to fix is not the outgoing links but the text on our side. Consider this case, similar to the German one you quote, where we improved the language or our template but messed the link: before, diff, after. Since the links work, can we just figure out the way to change the wording in the template but retain the same link as before? The older template was able to do it, somehow, seems we are introducing a new error somehow? Piotr Konieczny aka Prokonsul Piotrus| reply here 04:48, 5 July 2023 (UTC)[reply]
If you wouldn't mind making a list of which languages use the Author (in whatever language) prefix, I can hard-code their use into the template so that there isn't any issue.
This wasn't a problem before because {{wikisource author}} only linked to to the English version so no translation or odd coding was necessary. As mentioned in the original discussion, {{wikisource lang}} just links to a general search (which does sometimes turn up the author page directly) and thus does not require the "Author:" prefix. Primefac (talk) 08:06, 5 July 2023 (UTC)[reply]
On hold. Just for now, while we deal with actual template issues. Primefac (talk) 08:31, 5 July 2023 (UTC)[reply]
@Primefac See talk, is this helpful? Those are most larger Wiki source projects, should be enough to get most of our stuff sorted out. We can take a look at what, if anything, is left after dealing with those languages? Piotr Konieczny aka Prokonsul Piotrus| reply here 07:06, 7 July 2023 (UTC)[reply]
Should do, thanks for that. Going to keep this on hold for a bit longer, there's a TFD for merging all of these together and I might be able to enact these proposed changes during the merge process. Primefac (talk) 08:13, 7 July 2023 (UTC)[reply]
Somewhat stalled, been rather busy myself and it doesn't look like anyone has started work on the template merger. I think I might have cleared my on-wiki plate somewhat (touch wood) so I'll see about prioritising the merger. Primefac (talk) 10:51, 22 September 2023 (UTC)[reply]
Approved requests
Bots that have been approved for operations after a successful BRFA will be listed here for informational purposes. No other approval action is required for these bots. Recently approved requests can be found here (edit), while old requests can be found in the archives.
Bots that have been denied for operations will be listed here for informational purposes for at least 7 days before being archived. No other action is required for these bots. Older requests can be found in the Archive.
These requests have either expired, as information required by the operator was not provided, or been withdrawn. These tasks are not authorized to run, but such lack of authorization does not necessarily follow from a finding as to merit. A bot that, having been approved for testing, was not tested by an editor, or one for which the results of testing were not posted, for example, would appear here. Bot requests should not be placed here if there is an active discussion ongoing above. Operators whose requests have expired may reactivate their requests at any time. The following list shows recent requests (if any) that have expired, listed here for informational purposes for at least 7 days before being archived. Older requests can be found in the respective archives: Expired, Withdrawn.