Wikipedia:Bot requests/Archive 86

From Wikipedia, the free encyclopedia
Archive 80 Archive 84 Archive 85 Archive 86

Add articles under the the following categories and subcategories to Wikiproject

I want to add the articles under the following categories+subcategories to wikiproject: Indian caste system. Is this a good request for a bot?

Category:Dalit (42)
Category:Dalit literature (19)
Category:Dalit politics (61)
Category:Navayana Buddhists (3)
Category:Ambedkarite political parties (22)
Category:Satnami (5)
Category:Paraiyar leaders (3)
Category:Balmiki (4)
Category:Adivasi (39)
Category:Caste system in India (67)
Category:Anti-caste movements (43)
Category:Scheduled Tribes of India (179)

Miximon (talk) 19:48, 30 January 2024 (UTC)

Probably not; humans will need to add the WikiProject templates based on context. I picked a couple of articles at random from the categories, and Giraudpuri and Guru Balakdas, in Category:Satnami, do not appear to have anything to do with that WikiProject. (edited to add: I believe that the OP is referring to {{WikiProject Indian caste system}} and the associated WikiProject.) – Jonesey95 (talk) 20:10, 30 January 2024 (UTC)
I would also make the argument that other than the Scheduled Tribes cat, none of these are heavily populated - a quick AWB run would probably be both faster and more accurate (since there would be human oversight). Primefac (talk) 20:15, 30 January 2024 (UTC)
Even the big category will need human oversight; I don't see a reference to caste in Tani people, which is in that scheduled tribes category. – Jonesey95 (talk) 20:21, 30 January 2024 (UTC)
Just adding context to clarify - Scheduled castes and tribes are Govt of India's list of castes and tribes that are recognized for affirmative action because of historic discrimination - Caste system in India#Recognition Miximon (talk) 20:29, 30 January 2024 (UTC)
@Miximon: If you want to post a list of pages (not categories) on the WikiProject's talk page, and there's consensus to tag each of them, I will be happy to have my bot tag them. GoingBatty (talk) 21:06, 30 January 2024 (UTC)

Backlog drive leaderboard updates

Hi, is there a bot that can automatically update the leaderboard for the unreferenced articles backlog drive? Ideally, it would count the number of edit summaries made by each participant with "feb24" (not case-sensistive) to unique articles. Then, it would update the "Points from references" column in the leaderboard with that number. The rest of the leaderboard doesn't need to be updated by the bot, as the points from reviews is simpler to update, and the total points is automatically provided by a template. There's a bit of prior discussion at the talk page. Thanks! ARandomName123 (talk)Ping me! 23:14, 1 February 2024 (UTC)

I created a simple scraper which I plan to use daily to update the leaderboard. I don't think it's a very good solution, so if bot experts want to help, it would still be greatly appreciated ;) Broc (talk) 21:32, 2 February 2024 (UTC)
Y Done. Bot created based on script above. See User:BaranBOT/FEB24DriveLeaderboard. ARandomName123 (talk)Ping me! 18:12, 3 February 2024 (UTC)

Categorizing ACM Fellows by Year

Right now, there is a category "Category:Fellows of the Association for Computing Machinery" - which is added to all ACM Fellows. I created a bunch of categories "Category:202x Fellows of the Association for Computing Machinery" as subcategories of the main category to organize these by year. The recepients are already organised by year in this page.

  1. Go through each section of the page (which corresponds to a certain year).
  2. Foreach blue linked article in that section add the correct year-specific category "Category:202x Fellows of the Association for Computing Machinery" to the article.
  3. After all sections are done, remove the generic "Category:Fellows of the Association for Computing Machinery" from all the linked articles since they are now living under a subcategory.

KNivedat (talk) 18:37, 26 January 2024 (UTC)

KNivedat, Coding...— Frostly (talk) 18:37, 27 January 2024 (UTC)
@KNivedat, BRFA filed— Frostly (talk) 03:45, 4 February 2024 (UTC)

Bot request for Korean hangul text

Per the discussion at Wikipedia talk:Manual of Style/Korea-related articles#About adding a link to each hangul syllable using Template:Linktext, I am submitting this bot request. Please perform the following.

  1. Check if Template:Linktext only contains [ ]?[0-9가-힣][ ]? in each parameter.
  2. If so, remove Template:Linktext and |, but retain the text entered as parameters (including space characters before and/or after [0-9가-힣]).
  3. If not (that is, if Template:Linktext contains (1) any character other than [0-9가-힣], or (2) two or more adjacent [0-9가-힣] in at least one parameter), leave it as-is.

The following examples would help you understand this request.

  • Cases that should be changed
    • {{linktext|국|립|중|앙|도|서|관}}국립중앙도서관 (currently found in National Library of Korea)
    • {{Linktext|수|도|권|제|1|순|환|고|속|도|로}}수도권제1순환고속도로 (currently found in Capital Region First Ring Expressway)
    • {{linktext|새|터|데|이| 나|이|트| 라|이|브| 코|리|아|}}새터데이 나이트 라이브 코리아 (space characters have to be retained; currently found in Saturday Night Live Korea)
    • {{linktext|구|름|은}} {{linktext|흘|러|가|도}}구름은 흘러가도 ((added this example just in case) a space character between two instances of Template:Linktext has to be retained; currently found in Even the Clouds Are Drifting)
  • Cases that should NOT be changed
    • {{linktext|中|文|維|基|百|科}} (contains any character other than [0-9가-힣]; currently found in Chinese Wikipedia)
    • {{linktext|새|마을|호}} (contains two or more adjacent [0-9가-힣] in at least one parameter; currently found in Saemaeul-ho)

172.56.232.167 (talk) 00:24, 2 February 2024 (UTC)

The regex will need to be a bit more complex than what is described above, but this should be doable. Let me do some small-scale testing and get back to you. Primefac (talk) 12:30, 2 February 2024 (UTC)
BRFA filed. Primefac (talk) 21:34, 2 February 2024 (UTC)
Thank you for running your bot. I greatly appreciate it.
But can you please also remove them in the Draft namespace? There are currently 86 pages containing them (see this). They can be moved to the main (article) namespace at any time. 172.56.232.239 (talk) 05:46, 5 February 2024 (UTC)
Didn't think about draft space, seems reasonably uncontroversial
 Done. Primefac (talk) 12:54, 6 February 2024 (UTC)

Copyvio bot

Hello,
I was looking around for something like this, and did not find it, could a bot run a page against earwigs copyvio detector automatically, and flag it for human review if its score is too high? (I am willing to attempt to code this if there is not a glaring issue with it)
 Thanks
Geardona (talk to me?) 22:28, 6 February 2024 (UTC)

Nevermind, I see the village pump thread. Geardona (talk to me?) 00:09, 7 February 2024 (UTC)
You may find User:Novem Linguae/Essays/Copyvio detectors to be a good read. –Novem Linguae (talk) 01:41, 7 February 2024 (UTC)

Using coordinates on Wikidata

Category:Articles missing coordinates with coordinates on Wikidata contains 20,283 articles tagged with {{coord missing}}, but they all have coordinates available on Wikidata. Would it be possible for this template to be removed and replaced with {{Coord|display=title}} which will fetch the coordinates from Wikidata? I am not familiar with previous discussion on this, but I have also contacted The Anome for comments — Martin (MSGJ · talk) 09:32, 7 February 2024 (UTC)

@MSGJ and The Anome: BRFA filed. GoingBatty (talk) 14:13, 7 February 2024 (UTC)

Protection padlock bot

Bot to look through the page on the list of protected pages, find ones missing the padlock and add it at the correct level, and to correct the padlock level if needed.  Thanks Geardona (talk to me?) 14:06, 7 February 2024 (UTC)

 Already done by User:MusikBot II. Primefac (talk) 14:20, 7 February 2024 (UTC)
Can we confirm is is still up? Geardona (talk to me?) 15:06, 7 February 2024 (UTC)
It is. You can check its user contribution for the recent edits. – robertsky (talk) 15:11, 7 February 2024 (UTC)
Good, thanks Geardona (talk to me?) 15:13, 7 February 2024 (UTC)

Google cache

Google cache is shutting down, it is making the news. We have 5,000 pages on Enwiki. It is at WP:URLREQ#Google_cache. Thanks. -- GreenC 15:26, 5 February 2024 (UTC)

 Done -- GreenC 16:38, 11 February 2024 (UTC)

Proxy Blocking Bot

This bot is programmed to use a wide range of VPN services; using so, it detects the IP addresses, and then blocks them. This means that a lot of time could be saved. HedgehogLegend (talk) 18:48, 19 February 2024 (UTC)

We already have a proxy blocking bot. * Pppery * it has begun... 18:49, 19 February 2024 (UTC)
Specifically, User:ST47ProxyBot. Primefac (talk) 18:49, 19 February 2024 (UTC)

Question or another bot request for Korean hangul text

This is also related to the #Bot request for Korean hangul text above.

Any instance of Template:Linktext in Korean personal names should also be removed.

Korean personal names are usually in the "one-syllable surname + two-syllable given name" format (e.g. 홍길동 – surname 홍, given name 길동), so some people added Linktext like this: {{linktext|홍|길동}}. There are currently 726 pages containing such instances of Linktext (see this), and these are mostly—but not always—personal names.

In this case, you should not look for any space characters and [0-9]. You only need to look for \{\{[Ll]inktext\|[가-힣]\|[가-힣][가-힣]\|?\}\} (that is {{[Ll]inktext|[가-힣]|[가-힣][가-힣]|?}} without the backslashes), and remove Template:Linktext and |, but retain the text entered as parameters (i.e. change {{linktext|홍|길동}} to 홍길동).

Here are my questions:

  1. Is it possible to remove such instances of Linktext just from personal names?
    1. If so, please perform the bot removal.
    2. If not, if I provide pages that should not be affected by the bot removal, would that work? For example, a case like {{linktext|집|으로}} (found in The Way Home (2002 film)) should not be affected.

172.56.232.179 (talk) 21:27, 6 February 2024 (UTC)

Note that "no linktext in personal names (that is, do not add any kind of link to a personal name, including other forms of segmentations such as 가|나다)" was also part of the discussion. Look under "For personal names (including pseudonyms such as pen names, stage names, etc.), no links should be added." in Wikipedia talk:Manual of Style/Korea-related articles#About adding a link to each hangul syllable using Template:Linktext. 172.56.232.188 (talk) 04:13, 8 February 2024 (UTC)
I am slightly concerned about the CONTEXTBOT issues presented. Primefac (talk) 12:43, 8 February 2024 (UTC)
I manually checked the search results and prepared a list of pages (total 11) where \{\{[Ll]inktext\|[가-힣]\|[가-힣][가-힣]\|?\}\} is not a personal name. (As of 02:02, 23 February 2024 (UTC), this list still remains the same)
But you don't need to add these as exceptions when running your bot because these can be manually re-added/reverted after the bot runs.
Is the task doable now? If so, please perform the bot removal. 172.56.232.101 (talk) 20:24, 8 February 2024 (UTC)
FYI you can just write {{tld|linktext|꽃|부리}} --> {{linktext|꽃|부리}} without all the nowikis. Or to link the template: {{linktext|꽃|부리}} -- GreenC 21:00, 8 February 2024 (UTC)
If you are still concerned about the CONTEXTBOT issue, just don't worry about it. Since there is only a small number of exceptions, and since Linktext has never been a requirement (i.e. any instance of Linktext does not have to be there in the first place), you don't really need to worry about anything. Don't even add those cases as exceptions when running your bot either. 172.56.232.239 (talk) 03:14, 10 February 2024 (UTC)
insource:/\{\{[Ll]inktext\|[가-힣]\|[가-힣]\|[가-힣]\|?\}\}/ also has two. Also, I'm curious if it's necessary to leave something like {{linktext|黄|喜|燦}} behind? Kanashimi (talk) 07:46, 15 February 2024 (UTC)
Nothing was discussed about Chinese characters. 172.56.232.179 (talk) 21:48, 15 February 2024 (UTC)

I don't want to urge anyone, but can anyone please take care of this? I also want to move on. 172.56.232.179 (talk) 21:51, 15 February 2024 (UTC)

Can anyone please take care of this? 172.56.232.239 (talk) 02:02, 23 February 2024 (UTC)

@Primefac Can you please also take care of this? Just don't worry about the CONTEXTBOT issue. It's not really worth worrying in this case. 172.56.232.239 (talk) 14:26, 29 February 2024 (UTC)

Chill. Yes, but chill. Primefac (talk) 16:40, 29 February 2024 (UTC)
Got it.
I didn't mean to urge you. I was just concerned whether this request was getting forgotten. 172.56.232.234 (talk) 22:16, 29 February 2024 (UTC)

{{BOTREQ}} (for the bot). Primefac (talk) 18:31, 10 April 2024 (UTC)

Thank you for running your bot. I greatly appreciate it. 172.56.232.234 (talk) 21:44, 11 April 2024 (UTC)

Replacing invisible space characters in short description templates

This is a request to replace invisible space characters with regular space characters in {{short description}} templates within articles. As the MOS says, these characters are typically placed inadvertently via copying and pasting, and they can cause problems of various sorts. The task would be to replace invisible nbsp and thinsp characters found within short descriptions in the articles listed at Wikipedia:Database reports/Short descriptions containing invalid space characters.

I am pretty sure this would be a cosmetic task that would need explicit BRFA approval. Fixing the existing 3,000 or so instances of the problem will help us understand the root causes of the problem by identifying how new instances are occurring. I have some regexes that might help at User:Jonesey95/AutoEd/pages.js. – Jonesey95 (talk) 16:30, 8 February 2024 (UTC)

If it's an issue and if there's consensus, I can probably run this. Of course, if these invisible formatting characters are in the "private use area" then AWB will be useless. Primefac (talk) 16:45, 8 February 2024 (UTC)
Thanks, Primefac. This request follows from this discussion. My impression was that a long-standing MOS guideline was consensus enough to remove these characters. – Jonesey95 (talk) 20:39, 10 February 2024 (UTC)
@Primefac: Did you want to submit a BRFA for this, or would you like me to do so? GoingBatty (talk) 04:44, 1 March 2024 (UTC)
Totally forgot about this. Looks like I should be able to make AWB do what I want, so I can handle it. Thanks for the reminder. Primefac (talk) 13:22, 1 March 2024 (UTC)
@Primefac - Thanks! Marking as BRFA filed so the table at the top of the page is updated. GoingBatty (talk) 21:14, 1 March 2024 (UTC)
Jonesey95, dbase report is down to 15 members, at least half of which are due to oddities with an infobox shortdesc (I didn't look too deeply but there are at least two different infoboxes in use). Primefac (talk) 06:27, 7 April 2024 (UTC)
Wonderful, and thank you. I will take a look at the outliers unless someone else gets there first. – Jonesey95 (talk) 08:03, 7 April 2024 (UTC)

{{BOTREQ}} (for the bot). Primefac (talk) 18:31, 10 April 2024 (UTC)

Bot request

Would it be possible to get a bot to expand the match report citations at 2023–24 UEFA Europa Conference League qualifying phase and play-off round (Main Path) to stop the article exceeding template size limits? I've tried sandboxing a couple of different ways to try and reduce the number of templates on the page and I think the best (and possibly easiest) way to do so would be to expand the Cite web templates but there are quite a few so it would take a while to do so manually. As an example, <ref>{{cite web |url=https://www.uefa.com/uefaeuropaconferenceleague/match/2038534/ |title=Sutjeska-Cosmos |website=UEFA.com |publisher=Union of European Football Associations |access-date=13 July 2023}}</ref> would become <ref>[https://www.uefa.com/uefaeuropaconferenceleague/match/2038534/ "Sutjeska-Cosmos"]. UEFA.com. Union of European Football Associations. Retrieved 13 July 2023.</ref>

Any help would be much appreciated. Stevie fae Scotland (talk) 12:08, 29 February 2024 (UTC)

If it's just one page, a find/replace (either via AWB or just a text editor) is better than a bot. A bot won't really do anything different than a user. Primefac (talk) 12:30, 29 February 2024 (UTC)
Okay, it should be  Fixed; I did a mass find/replace on the most re-used cite style and everything seems to be showing up now. Primefac (talk) 13:02, 29 February 2024 (UTC)
Thanks Primefac, much appreciated. Stevie fae Scotland (talk) 13:51, 29 February 2024 (UTC)
Marking as {{BOTREQ}} to update the table at the top of this page. GoingBatty (talk) 03:55, 1 March 2024 (UTC)

Remove NYTimes tracking parameters

Hey all! I know there is previous consensus to remove tracking parameters from URLs in articles (ex: PrimeBOT 17 and its predecessor), and I've noticed a parameter that appears in many URLs from The New York Times (in almost 3,700 articles as of now). There's also this particular link from the Mona Lisa article that shows a few more tracking parameters used by NYT: https://thelede.blogs.nytimes.com/2008/01/15/mona-lisas-identity-solved-for-good/?searchResultPosition=2&mtrref=www.nytimes.com&gwh=9DE4B32CC79812F2537467E9D52707E9&gwt=pay&assetType=REGIWALL.

I'd like to create a bot task to remove these but wanted to start a conversation on-wiki first to ensure there's consensus. I believe I have some draft code started that would work well, matching all NYT subdomains and whatnot. (Using the following regex to find NYT links in source code and this library to edit them \b(?:https?://)?(?:[\w-]+\.)*nytimes\.com/[\w/.\-#?&=]*\btest it)

Overall thoughts from the community? Bsoyka (tcg) 03:14, 15 March 2024 (UTC)

Please do not modify archive URLs eg. avoid "/https://" or "?url=https://" covers most cases. -- GreenC 03:56, 15 March 2024 (UTC)
@GreenC: Ah, good point — thank you! I've updated the regex and I think this should work to avoid archive URLs. You can see it working here:
(?<!/)(?<!\?url=)https?://(?:[\w-]+\.)*nytimes\.com/[\w/.\-#?&=]* Bsoyka (tcg) 04:15, 15 March 2024 (UTC)
  • As long as you can do it without making it harder to access the article, definitely, yes! --David Tornheim (talk) 05:49, 15 March 2024 (UTC)
  • I can just append this to my existing task. Just to check, these are mtrref, gwt, and gwh, yes? Primefac (talk) 08:51, 15 March 2024 (UTC) Primefac (talk) 08:51, 15 March 2024 (UTC)
    @Primefac: I'd originally thought about that, but these parameters seem specific to the NYT. Those three you mention seem like they'd probably be safer to remove globally, but the one I was originally focusing on, searchResultPosition, along with assetType, seem like they'd have potential uses on other sites that could break the linked page if they're not included in the URL. (A few potential examples) Bsoyka (tcg) 14:24, 15 March 2024 (UTC)
    Okay, so it's more about removing a full string of parameters rather than a group of them. Primefac (talk) 09:09, 16 March 2024 (UTC)
    Does Primefac's existing task have a facility to remove a tracking parameter only from certain domains? Certes (talk) 23:16, 15 March 2024 (UTC)
    Yes (see its talk page), I just need to do a short run to show there aren't any issues. Primefac (talk) 09:08, 16 March 2024 (UTC)
    Awesome, even better. I'll let you take it from here then! Bsoyka (tcg) 13:04, 16 March 2024 (UTC)
    {{done}}, for the bot (and the record); I've taken care of everything that was there currently, and I'll add it into my rota for the utm checks. Primefac (talk) 14:17, 27 March 2024 (UTC)

Notifying AfC acceptors an article gets AfDed

Hello, I am wanting to propose the idea of creating a bot that notifies Articles for creation acceptors when an article they accept gets AfDed around 100 days within them accepting it via their talk page. GMH Melbourne (talk) 05:41, 22 February 2024 (UTC)

There is a script called User:Novem Linguae/Scripts/WatchlistAFD.js that automatically adds the AfD pages of your AfC accepts and NPP curations to your watchlist for 6 months. It's really handy because then you can easily keep track of when things are AfD'd and adjust your reviewing accordingly. – DreamRimmer (talk) 06:18, 22 February 2024 (UTC)
I think my user script is broken. I should probably fix it one of these days. –Novem Linguae (talk) 06:27, 22 February 2024 (UTC)

 You are invited to join the discussion at Wikipedia talk:Teahouse § Bot inoperable. Rotideypoc41352 (talk · contribs) 02:11, 23 February 2024 (UTC)

Date ranges for noticeboard archives

This seems uncontroversial.

It would be pretty cool if some kind bot could go through the pre-current (should never change) archives of the boards listed in the dramaboard archivebox series, extract the earliest and latest timestamps, truncate them to dates, and use those dates to annotate the links somehow. Inactive archives at time of writing are:

User story: I was recently trying to find an archived conversation from a few months ago, and the best tools I had available were a scattershot "tap an archive number, wait for the entire page to load, check top and bottom timestamps" and "search archives for exact string matched date". Improved navigability gained from annotating the archive links with date ranges should save people time.

Implementation ideas: The quickest implementation would just be a plaintext date range edited onto the archive list pages linked above. A further step could be to add a |date-span= (or similar) to {{Administrators' noticeboard navbox all}} which, if present, would display the date range of comments posted at the top of the page itself, so the information is available both on the archive page and the index of archives. The most elegant, stupid, and expensive implementation would be to add {{shortdesc}} to all the archives, set the |1= to the date range, and convert the indices to use {{annotated link}}.

Anyway though: Anyway though the first step is getting the date ranges. Maybe this is already in a report somewhere? Folly Mox (talk) 18:30, 11 November 2023 (UTC)

@Folly Mox, I suspect you'd need consensus to go through with this. Perhaps trying asking at those noticeboards first? — Qwerfjkltalk 19:06, 11 November 2023 (UTC)
Oh right I tacked on all those expanded scope ideas in the process of making the edit. Folly Mox (talk) 20:22, 11 November 2023 (UTC)
Just noting, an Index of some variety would probably be easier than going through the thousands of archives and amending them. Primefac (talk) 08:10, 12 November 2023 (UTC)
Yep. A user script could be useful for displaying date ranges without the need for edits. — Frostly (talk) 10:04, 7 January 2024 (UTC)
The lists mentioned are generated by Template:Archive list. Could we change it's module to show the date ranges? Wikiwerner (talk) 12:50, 24 February 2024 (UTC)

ID pages needing infoboxes

Identify pages with Template:WikiProject Albums in their talk page but not Template:Infobox album on their main page and add |needs-infobox=yes to them. Please and thank you, J04n(talk page) 15:24, 6 February 2024 (UTC)

Question, what about disambiguation or redirect pages, do they require the infobox? Would this be a 1 time run or a ongoing thing, if it is 1 time I could try to figure out some AWB or JWB regex to get this partly done. (given the pages a bot would be more efficient in my opinion)  Thanks Geardona (talk to me?) 15:37, 6 February 2024 (UTC)
Thanks for the quick response,disambiguation or redirect pages don't need them, if they can be filtered out all the better. I suppose continuous is better, not sure of the logistics. J04n(talk page) 16:07, 6 February 2024 (UTC)
I am not a bot programer myself, but it seems possible, (405683 pages) would need to be checked, and thats way too many for 1 or 2 people to check manually in any reasonable time (even with AWB). Geardona (talk to me?) 17:20, 6 February 2024 (UTC)
Geardona, J04n, according to my PetScan query, 29,831 results. I could run my bot on these pages. — Qwerfjkltalk 17:59, 6 February 2024 (UTC)
Looking at the results though, seems there are quite a few false positives. — Qwerfjkltalk 18:01, 6 February 2024 (UTC)
Less amazing, how did it fail? Geardona (talk to me?) 18:02, 6 February 2024 (UTC)
Geardona, because whilst they are in WikiProject Albums, quite a few of the articles likely don't need an infobox e.g. Grammy Award for Best Comedy Album. — Qwerfjkltalk 18:04, 6 February 2024 (UTC)
Im not sure how to filter those out, Wikipedia:CONTEXTBOT is rearing its ugly head. Might need to be done manually, at least the list is a tiny bit shorter. Geardona (talk to me?) 18:06, 6 February 2024 (UTC)
Most of those seem to be redirects. — Qwerfjkltalk 18:02, 6 February 2024 (UTC)
I see a "redirects yes/no" setting, would that fix it or am I missing something? Geardona (talk to me?) 18:04, 6 February 2024 (UTC)
Amazing, I thought that something like this would exist, maybe post a notice with the albums project talk page, wait a day or 2 and then start. (Not sure if a BRFA would be needed here?) Geardona (talk to me?) 18:01, 6 February 2024 (UTC)
Yeah, the majority seem to be false positives. Can redirects be filtered out? J04n(talk page) 18:04, 6 February 2024 (UTC)
J04n, I did so in my second query. Sorry if that was unclear. — Qwerfjkltalk 18:14, 6 February 2024 (UTC)
Very cool, I don't mind filtering out other false positives by hand. Thank you so much! J04n(talk page) 18:18, 6 February 2024 (UTC)
@J04n: Is there consensus that all articles should have an infobox? When creating the BRFA, it would be good to link to that consensus (whether it's a conversation or an albums style guide). Thanks! GoingBatty (talk) 18:37, 6 February 2024 (UTC)
I'll start a conversation, thanks J04n(talk page) 18:49, 6 February 2024 (UTC)
I reached out to the project, another thought I had was maybe have the bot look for any infobox template not just album. This would further reduce false positives. J04n(talk page) 19:09, 6 February 2024 (UTC)
Rather than looking for the WikiProject template, you could work through yyyy albums, i.e. the subcategories of Albums by year. That might miss a few pages but should produce dramatically fewer false positives. Certes (talk) 22:21, 6 February 2024 (UTC)
That's a great idea, appreciate folks putting thought into this. J04n(talk page) 00:39, 7 February 2024 (UTC)

I started a discussion at Wikipedia talk:WikiProject Albums#Bot to help identify album pages missing infoboxes, which generated pretty much no interest one way or the other. I would like to go on with this as a one-time sweep of pages in the subcategories of Albums by year that do not have an infobox, if redirects could be filtered out it would be a big help. Can this be done? Thanks! J04n(talk page) 18:33, 24 February 2024 (UTC)

Fixing broken links to talk page discussions

Links to talk page discussions often break when the discussions are archived by User:Lowercase sigmabot III. Could this bot be configured to replace the links (by linking to archived discussions) instead of breaking them? Jarble (talk) 18:58, 16 February 2024 (UTC)

Jarble, this is not the right place. Ask on the bot operator's talk page. — Qwerfjkltalk 14:02, 17 February 2024 (UTC)
@Jarble: clubot III does this by default. See User:ClueBot III#Keeping linked. —usernamekiran (talk) 21:19, 18 February 2024 (UTC)
@Usernamekiran: Does ClueBot III repair links to discussions that were broken by other bots, including Lowercase sigmabot III? Jarble (talk) 21:40, 18 February 2024 (UTC)
@Jarble: To keep it short, I don't think so. —usernamekiran (talk) 21:54, 18 February 2024 (UTC)
cewbot regularly fixes these types of link errors. If there are any that are not fixed, please let me know and I'll see what's wrong. Kanashimi (talk) 05:37, 19 February 2024 (UTC)
@Kanashimi: I frequently find broken links to sections of talk pages that were archived. Does Cewbot replace these broken links with links to archived talk page discussions? Jarble (talk) 21:48, 19 February 2024 (UTC)
That's what a robot would do. If the robot misses something, you can give me an example and I'll see what's wrong. Kanashimi (talk) 22:41, 19 February 2024 (UTC)
@Kanashimi: For example, I found several broken links to talk page sections on this page. Does this bot not repair broken links from archived discussions? Jarble (talk) 17:32, 25 February 2024 (UTC)
@Jarble The bot works by checking all the links to a specific anchor. There are too many links on this page, can you point out the exact anchor? Thank you. Kanashimi (talk) 03:18, 26 February 2024 (UTC)
@Kanashimi: One of the broken section anchors is at the beginning of this section, but there are probably several others. Jarble (talk) 03:39, 26 February 2024 (UTC)
@Jarble This page will be processed by the bot when it processes all the pages linked to Talk:BTS (band). Kanashimi (talk) 06:22, 26 February 2024 (UTC)

Toolforge tool/bot to send email notifications

I've started a tool request about the recent "bots don't trigger email watchlist notifications" change to the backend at VPT (since it's not a botreq) but thought folks here might want to know. Primefac (talk) 12:12, 4 March 2024 (UTC)

Bot to mass-undo edits & pagemoves

There seems to be (at least a rough) consensus at WP:BOTN#Rollback Proposal to mass-undo at least a set of the edits and pagemoves that were proposed for reversal. I originally said that I would be happy to submit a BRFA to do this myself, but I am no longer personally able to take on this task.

Let me know if there are any queries. All the best, ‍—‍a smart kitten[meow] 18:44, 6 March 2024 (UTC)

Looks like this user changed his name? Kanashimi (talk) 14:25, 7 March 2024 (UTC)
@Kanashimi: Yes, this user is now Renamed user g5s6n3yi8z7g08cs. All the best, ‍—‍a smart kitten[meow] 15:36, 7 March 2024 (UTC)

Mass changes needed for retirement of Drug Information Portal

(I am contacting WP:BOTREQ at the suggestion of Andy Mabbett)

The National Library of Medicine's Drug Information Portal has been retired, with all information moved to the Library's PubChem database. I think all the links to the Drug Information Portal should be updated to the corresponding article in PubChem. I suspect that someone can set up a bot to do this, but I don't know how. Perhaps someone can point me to instructions to do this or turn this over to someone who already knows how? — HowardBGolden (talk) 20:40, 12 March 2024 (UTC)

For example: Here's an example of a change I made manually:

Synopsis:

"druginfo" -> "pubchem/ncbi"
"drugportal/name" -> "compound"
"Drug Information Portal" -> "PubChem"
"charcoal" -> "Activated%20Charcoal#section=Drug-and-Medication-Information"


BEFORE

* {{cite web |title=Activated charcoal |url=https://druginfo.nlm.nih.gov/drugportal/name/charcoal |work=Drug Information Portal |publisher=U.S. National Library of Medicine}}

AFTER

* {{cite web |title=Activated charcoal |url=https://pubchem.ncbi.nlm.nih.gov/compound/Activated%20Charcoal#section=Drug-and-Medication-Information |work=PubChem |publisher=U.S. National Library of Medicine}}

HowardBGolden (talk) 22:25, 12 March 2024 (UTC)

@HowardBGolden: Could WP:URLREQ do this more efficiently than a new bot? Certes (talk) 23:06, 12 March 2024 (UTC)
There is a |Pubchem= parameter for {{Infobox drug}}, and presumably many/most of the affected articles have that infobox, so I don't think it should also be listed in WP:EL. And it's maybe even already populated with the correct entry, so in many cases this item should simply be removed altogether. That would certainly limit the scope of the pages needing actual attention. And in many of those cases, it probably merits an infobox update (and then nuking the EL) rathe than changing the EL. DMacks (talk) 02:08, 13 March 2024 (UTC)
I asked WPMED for advice on whether they see a need to special-case around WP:EL vs infobox link. DMacks (talk) 15:24, 13 March 2024 (UTC)
Thank you so much for this, and to DMacks for dealing with it. WhatamIdoing (talk) 17:40, 13 March 2024 (UTC)

To add categories based on article's listing in a third page

I wish to add the Category:Banaras Hindu University alumni to all articles listed in List of Banaras Hindu University people. The bot should automatically update/add Category to any article added in the List. This List-Category linker can not only be used across WP:UNI but also other such relations where a list and category exist for same theme. Thank you, User4edits (talk) 04:36, 1 March 2024 (UTC)

@User4edits: The first person in the article is "C. V. Raman, the Nobel Prize winner in Physics in 1930 and Bharat Ratna laureate..." The bot would have to check C. V. Raman and ignore the links to Nobel Prize and Bharat Ratna. Might be easier if all the lists in the article were in the same format (e.g. all tables or all with bullets). GoingBatty (talk) 04:43, 1 March 2024 (UTC)
@GoingBatty would it not be possible to filter only biographical articles? Re-formatting would be tedious for such large article, and will not make the bot a universal use. Thanks, User4edits (talk) 04:59, 1 March 2024 (UTC)
@User4edits: It might be possible, but more challenging when you look at List of Harvard University people#Royalty and nobility where you would also have to filter out the biographical articles from the "Notability" column. GoingBatty (talk) 05:26, 1 March 2024 (UTC)
@GoingBatty That is an issue. However, we can counter this by providing users with two modes -- biographical filter, or columns (formatted lists as Harvard above). Thanks, User4edits (talk) 06:02, 1 March 2024 (UTC)
@User4edits: Another issue that any potential bot owner (i.e. not me) will have to consider is that it won't be appropriate to add "Category:XXXX alumni" to an article if it already has a sub-category (e.g. Category:Harvard University people has 17 subcategories and numerous sub-subcategories). GoingBatty (talk) 08:10, 1 March 2024 (UTC)
@GoingBatty Yes, it will have to skip if any sub category of the main category is already listed. Although in the example you gave, I see Category:Harvard University alumni a sub cat of people. Thanks, User4edits (talk) 04:25, 2 March 2024 (UTC)
The category at the start of this topic has no subcategories, so that is not an issue. AWB's list comparer yields 196 pages that are linked on the list, but are not in the category (plus 146 pages in the category that are not in the list). Filtering out biographical articles can be done by checking whether a category "... births" exists, or by a human. Wikiwerner (talk) 17:40, 16 March 2024 (UTC)

Bot to automatically revert date change vandalism

Hi, I want to create a bot that automatically reverts obvious date change vandalism. For example:

"James H. (born 26 December 2002)"
And then a vandal comes and changes it to:
"James H. (born 29 December 2002)"

And the goal of the bot is to revert these changes as accurately as possible. And here's how it's gonna work:

A bot sees that someone changed the birth date. The bot looks up the name of the person on wikidata. If the person appears on wikidata, The bot searches for his birth date on his wikidata page. And if the birth date written on wikidata is different than the date the vandal changed it to, the bot automatically revert these changes. I hope this bot can be coded for me. It seems like a great idea for a bot. 93.173.38.154 (talk) 11:28, 5 February 2024 (UTC) Very minor formatting changes made for readability. Primefac (talk) 12:58, 6 February 2024 (UTC)

This might require a discussion to get consensus rather than being an automatic "do now". I would check that the Wikidata matches the old date, rather than just differing from the new one. Bear in mind that Wikidata also has vandalism and good-faith errors, so (with all due respect to the IP proposer) we might want the bot to revert non-autoconfirmed editors only. Certes (talk) 12:07, 5 February 2024 (UTC)
This might be something that an edit filter could be able to accomplish, just disallowing changes like that. Geardona (talk to me?) 12:27, 5 February 2024 (UTC)
  • Minor changes to numbers are depressingly common. I have been combating a mobile IP from Italy for over 6 months, who modifies incorrectly the heights of buildings, in 100s and 1000s of articles. Might be game or competition. I agree watching birth/death date changes is a good idea. I have some ideas how to do this, but it gets involved, it's not easy. -- GreenC 15:22, 5 February 2024 (UTC)
  • Not sure if this is possible even remotely, but a bot to unaccept any change like these, pushing them onto pending changes, even if the page is not protected as such, just for new/unregistered users, might solve the immediate problem of false info presented to readers. Geardona (talk to me?) 15:26, 5 February 2024 (UTC)
  • I like the gist of the proposal but not the substance. If we're going to revert number vandalism (and I would say everything from DOB to height/weight to number of albums sold, etc) it should just be done, without checking WD (which might be wrong or nonexistent anyway). If a number is being changed without a reference, it's likely to be vandalism. Basically ClueBot NG but specifically for numbers. It would need broader consensus to get implemented, though (regardless of how the bot is set up). Primefac (talk) 12:58, 6 February 2024 (UTC)
    I would say that this seems more possible with a edit filter, so it should be proposed there (edit filter talk page). Then see what they think. Geardona (talk to me?) 13:11, 6 February 2024 (UTC)
    That would certainly catch a lot of petty vandalism, such as changing the lead of 123 to begin "420 is..", but it might have many false positives. For example, good-faith editors regularly update sporting records for players and teams after each match, without waiting for some newspaper to mention that Smith has now played 42 matches rather than 41. Certes (talk) 13:34, 6 February 2024 (UTC)
    Potentially limiting it to just dates in the past (1 year +) would alleviate false positives? Maybe also limiting it to large number changes, would stop good faith false positives. Geardona (talk to me?) 13:38, 6 February 2024 (UTC)
    Oh, don't take my suggestion as what must be, just throwing out an idea that I feel is better than trusting WD. Whether edit filter or bot, I suspect that the reverts would be limited to IPs and non-AC users. Primefac (talk) 13:49, 6 February 2024 (UTC)
    Potentially even having it set to revoke AC status would really solve the problem, AC is not that hard to get. Geardona (talk to me?) 13:53, 6 February 2024 (UTC)
    That's an interesting idea but I don't think we have a precedent for a "Robocop" bot which removes permissions and it would need at least an RfC. Getting AC for the first time is easy, but we would need to think about how affected editors would recover AC - permission request? Certes (talk) 14:05, 6 February 2024 (UTC)
    To my knowledge some of the high-power filters can revoke AC. Geardona (talk to me?) 14:07, 6 February 2024 (UTC)
    From Wikipedia:EFBASICS "The strongest setting is disallow. In this case, the edit is rejected, and the user will see a customizable message. A link is provided for reporting false positives. It is also possible to have a user's autoconfirmed status revoked if a user trips the filter." Geardona (talk to me?) 17:23, 6 February 2024 (UTC)
    This is indeed technically possible. It's also technically possible for an abuse filter to block someone entirely. We've chosen (for good reason IMO) not to use those options. * Pppery * it has begun... 19:25, 3 April 2024 (UTC)

Bot to add uncategorized tag to untagged uncategorized pages

Could we have a bot to automatically add the Template:Uncategorized tag to untagged uncategorized pages? BlueberryIntoTheWild (talk) 06:29, 10 March 2024 (UTC)

It's been discussed previously at Wikipedia talk:New pages patrol/Coordination#Reviewing backlog. – DreamRimmer (talk) 07:10, 10 March 2024 (UTC)
@BlueberryIntoTheWild: Y Done I already have BattyBot 55 to do this, and I last ran it on March 21. GoingBatty (talk) 03:43, 23 March 2024 (UTC)

IMDB Bot

I would like to request that a bot add the IMDb template to all articles that needs it. If possible (actors bios, entertainers etc). It is a very useful template. BabbaQ (talk) 13:27, 29 March 2024 (UTC)

I am working on bringing both of these lists to WP:FLC in the future. Unfortunately, the style of the tables is based on an older layout not typically used any more. Fixing each individual table (like 90 tables comprising like 1,500 different players) is going to be a time drain of repetitive editing. After working on a few, I wondered if someone would be able to automate these steps. The idea would be running an input of a table and receiving an updated table as an output. This wouldn't need to actually edit the article, it could just be placement of the tables in my user space for me to QA/QC and then update the table accordingly. As an example, the following table would be the input:

Round Pick # Overall Name Position College
1 7 7 Russ Letlow Guard San Francisco
2 7 16 J.W. Wheeler Tackle Oklahoma
3 7 25 Bernie Scherer End Nebraska
4 7 34 Theron Ward Back Idaho
5 7 43 Darrell Lester Center TCU
6 7 52 Bob Reynolds Tackle Stanford
7 7 61 Wally Fromhart Quarterback Notre Dame
8 7 70 Wally Cruice Back Northwestern
9 7 79 J. C. Wetsel Guard SMU

And the output would be this:

Round Pick # Overall Name Position College
1 7 7 Russ Letlow Guard San Francisco
2 7 16 J. W. Wheeler Tackle Oklahoma
3 7 25 Bernie Scherer End Nebraska
4 7 34 Theron Ward Back Idaho
5 7 43 Darrell Lester Center TCU
6 7 52 Bob Reynolds Tackle Stanford
7 7 61 Wally Fromhart Quarterback Notre Dame
8 7 70 Wally Cruice Back Northwestern
9 7 79 J. C. Wetsel Guard SMU

What steps would this entail? Well here are the main things:

  • Adding {{Sortname}} to each person's name.
  • Adding accessibility features (scope="row")
  • Converting from the double-piped style on one line to the single-pipe with each piece of data on its own line
  • Centering the data in columns 2 and 3

This would save me a ridiculous amount of time and energy. I know this isn't the typical "bot request", but it seemed the most appropriate venue for such a request. Note again that this request would not require any bot editing to the mainspace, it could just paste the tables to my user space for me to add in, QA/QC and make some smaller changes not easily automated. Thanks for any help! « Gonzo fan2007 (talk) @ 16:14, 3 April 2024 (UTC)

Y Done with some tweaking with regular expressions. Wikiwerner (talk) 10:09, 21 April 2024 (UTC)
Wikiwerner, you are a lifesaver! Thank you so much :) « Gonzo fan2007 (talk) @ 15:57, 22 April 2024 (UTC)

UTF-8 debugging

After seeing the use of ’ in place of ' in the titles of several references, I noticed similar broken characters and determined that most of them are likely on this list. Further research indicated that the issue is known as Mojibake, with there being one prior bot request for the issue that appears to have been left unresolved.

As the character combinations in the chart are unlikely to occur by happenstance, their use of any given article likely corresponds to the characters on the chart. Assuming the chart I found isn't missing any commonly broken characters, the current number of articles with characters broken in this manner to be around 800. As periodically scanning for and correcting all of such occurrences would be repetitive, perhaps its a task a bot could handle? CoolieCoolster (talk) 07:13, 4 April 2024 (UTC)

CoolieCoolster, if I search for ’, the first result links to https://www.thenews.com.pk/archive/print/269366-cm-doubles-baloch-students’-quota; https://www.thenews.com.pk/archive/print/269366-cm-doubles-baloch-students'-quota throws a soft 404. — Qwerfjkltalk 16:56, 7 April 2024 (UTC)
In the case of ’, I fixed all erroneous instances of it (about 400, mostly in reference titles) using AWB, with the remaining ones being in URLs like the one you found. There's also the remaining characters to fix, though I think ' is the most common one to be affected. It would be helpful if there were a means of having the process be entirely automated for the inevitable future fixes needed. CoolieCoolster (talk) 19:33, 7 April 2024 (UTC)
CoolieCoolster, the problem is context (WP:CONTEXTBOT), which is why it can't be automated. — Qwerfjkltalk 20:55, 7 April 2024 (UTC)

Converting Category:Harold B. Lee Library-related articles to talk page categories

Hi! This is my first request here, so please tell me if I did something wrong. At Wikipedia:Categories for discussion/Log/2024 March 13#Category:Harold B. Lee Library-related film articles, consensus was reached to move Category:Harold B. Lee Library-related articles and its subcategories from hidden mainspace categories to each article's talk page. (The category tree is used by User:Rachel Helps (BYU) and her students to keep track of their work.) I have created {{WikiProject Harold B. Lee Library/sandbox}}, which has associated task forces corresponding to each of the categories. Would it be possible for a bot to do this conversion?

The TL;DR is a bot which takes an article in (e.g.) Category:Harold B. Lee Library-related 19th century articles, removes it from that category, and adds {{WikiProject Harold B. Lee Library|19th century=yes}} to the talk page. Thanks, HouseBlaster (talk · he/him) 02:21, 19 April 2024 (UTC)

Hi, I'm not sure if I'm allowed to comment, but my understanding was that we agreed to moved the category itself to the talk page. That way I can still use the categories for AWB editing and with the massviews analysis. Rachel Helps (BYU) (talk) 16:17, 19 April 2024 (UTC)
That is, as far as I can tell, what is being requested. This is done via the WikiProject template as described. Primefac (talk) 16:23, 19 April 2024 (UTC)
That is correct. HouseBlaster (talk · he/him) 16:40, 19 April 2024 (UTC)
This doesn't seem overly complicated, if I get time this weekend I'll see if I can manage with AWB. Primefac (talk) 16:25, 19 April 2024 (UTC)
HouseBlaster, I've started working through these, so please implement the relevant WikiProject updates to allow for the tracking to work. Primefac (talk) 19:56, 19 April 2024 (UTC)
@Primefac: {{done}} HouseBlaster (talk · he/him) 20:27, 19 April 2024 (UTC)
Cool. Just noting for my own reference (as I'm heading out) I made it to folklore. Primefac (talk) 20:37, 19 April 2024 (UTC)
I have deactivated the {{done}} template because it caused ClueBot to archive this discussion. HouseBlaster (talk · he/him) 00:20, 20 April 2024 (UTC)
Y Done and many thanks to Primefac! HouseBlaster (talk · he/him) 17:08, 20 April 2024 (UTC)

Converting positional parameters to named parameters

Please can someone process Category:WikiProject Arthropods articles using positional parameters and change the syntax of {{WikiProject Arthropods}} to use named parameters, e.g. {{WikiProject Arthropods|C|low}} to {{WikiProject Arthropods|class=C|importance=low}}

I have posted on the template talk with the reasons and no has responded — Martin (MSGJ · talk) 16:18, 2 May 2024 (UTC)

172 pages? I can get that with JWB real quick.  Working Geardona (talk to me?) 16:19, 2 May 2024 (UTC)
Thank you. There are a few in Category:WikiProject Islands articles using positional parameters too ... — Martin (MSGJ · talk) 16:22, 2 May 2024 (UTC)
 Done Geardona (talk to me?) 22:30, 2 May 2024 (UTC)
Cheers — Martin (MSGJ · talk) 06:55, 3 May 2024 (UTC)
Would you mind doing Category:WikiProject Insects articles using positional parameters as well? — Martin (MSGJ · talk) 12:37, 3 May 2024 (UTC)
And Category:WikiProject Spiders articles using positional parameters — Martin (MSGJ · talk) 13:00, 3 May 2024 (UTC)
No problem.  Working Geardona (talk to me?) 14:19, 3 May 2024 (UTC)
 Done Re-used regex from last time. On another note does the capitilization of importance or class matter? Geardona (talk to me?) 14:48, 3 May 2024 (UTC)
Thanks again. The parameter name must be lower case but capitalisation of the value does not matter. — Martin (MSGJ · talk) 05:49, 4 May 2024 (UTC)

Bot to change page links from Baetylus to Baetyl

I made a technical request asking Baetylus to be moved to Baetyl and it has been granted. Baetylus is now a redirect to Baetyl. All pages previously linking to Baetylus are therefore now redirects to Baetyl. I want a bot to go through all the pages that directly link to [ [ Baetylus ] ] and change them to link to [ [ Baetyl ] ] instead so that all the pages linking to Baetyl are not redirects but direct links. Pogenplain (talk) 23:29, 12 May 2024 (UTC)

This is generally not done per WP:NOTBROKEN. * Pppery * it has begun... 23:45, 12 May 2024 (UTC)

Update WP: maintaince pages

A bot to make edits like this one: https://en.wikipedia.org/w/index.php?title=Wikipedia%3ABacklog&diff=1214091029&oldid=1197405012. Also used at Wikipedia:Disambiguation pages with links#Current disambiguation collaborations. OrdinaryGiraffe (talk) 23:43, 21 March 2024 (UTC)