Wikipedia:Bot requests: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ClueBot III (talk | contribs)
m Archiving 1 discussion to Wikipedia:Bot requests/Archive 84. (BOT)
ClueBot III (talk | contribs)
m Archiving 1 discussion to Wikipedia:Bot requests/Archive 84. (BOT)
Line 42: Line 42:
:Hello. Sorry to bug you, but it has been almost a month now, so I thought of asking about the status of the bot being coded. Thanks. [[User:Sanglahi86|Sanglahi86]] ([[User talk:Sanglahi86|talk]]) 19:38, 17 January 2023 (UTC)
:Hello. Sorry to bug you, but it has been almost a month now, so I thought of asking about the status of the bot being coded. Thanks. [[User:Sanglahi86|Sanglahi86]] ([[User talk:Sanglahi86|talk]]) 19:38, 17 January 2023 (UTC)
::{{re|Sanglahi86}} Hi. The code is ready, and accurate. I tested it on small categories, but I want to optimise it further. Because of the lack of time, I think it will take around 4-5 days more to finalise the code/filing the official request for bot. —usernamekiran [[User talk:usernamekiran|(talk)]] 23:11, 17 January 2023 (UTC)
::{{re|Sanglahi86}} Hi. The code is ready, and accurate. I tested it on small categories, but I want to optimise it further. Because of the lack of time, I think it will take around 4-5 days more to finalise the code/filing the official request for bot. —usernamekiran [[User talk:usernamekiran|(talk)]] 23:11, 17 January 2023 (UTC)

== Create TLA redirects to TLA disambiguation pages ==
In many cases, uppercase three-letter acronyms ("TLAs") are disambiguation pages, and the lowercase form is always a good redirect. See [[ABC]] and [[abc]], for example. Could a bot help create more lowercase redirects? Two sets of pages in projectspace have links to every possible TLA combination, both uppercase and lowercase. See [[Wikipedia:TLAs from EAA to HZZ]] for example, and {{tl|Wikipedia TLAs}} for all links. The bot could use these pages in this process:
*Open a nonexistent lowercase TLA
*Check if the uppercase TLA exists
*If uppercase exists, check to see that the page code contains a disambiguation template
*If uppercase contains a disambiguation template, create lowercase as a redirect to uppercase
*If uppercase is a redirect to ''uppercase (disambiguation)'', which contains a disambiguation template, create lowercase as a redirect there
When the TLA is an article (e.g. [[BBC]]) or a redirect to an article (e.g. [[AVV]]) or a redirect to a differently titled disambiguation page (e.g. [[ARM]]), the situation is more complicated, so the bot should not create lowercase redirects for those titles. [[Special:Contributions/120.21.41.202|120.21.41.202]] ([[User talk:120.21.41.202|talk]]) 21:58, 30 November 2022 (UTC)
:<s>This might be better as an [[WP:AWB/TASK|AWB task]]. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 11:04, 1 December 2022 (UTC)</s> {{small|Larger than I realised. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 12:54, 1 December 2022 (UTC)}}
:Do we really need these redirects? Typing [[Aeb]] in most places automatically takes me to [[AEB]]. If we do, 5338 out of 17576 possibilities (A-Z only) are redlinks ([[quarry:query/69398|list]]). There are also a further 18 cases ([[quarry:query/69400|list]]) where the TLA redirects to a dab with a different name. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 12:07, 1 December 2022 (UTC)
:There are also 9577 four-letter dabs such as [[AAAD]], 324 five-letter dabs such as [[AACAP]], 29 six-letter dabs such as [[ADERRA]], five seven-letter dabs such as [[AFCYBER]], and this week's winner: [[NAVCOMMSTA]]. I'm not sure that having three letters makes the dab special. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 14:21, 1 December 2022 (UTC)


== Block notices about coloured backgrounds ==
== Block notices about coloured backgrounds ==

Revision as of 16:46, 30 January 2023

This is a page for requesting tasks to be done by bots per the bot policy. This is an appropriate place to put ideas for uncontroversial bot tasks, to get early feedback on ideas for bot tasks (controversial or not), and to seek bot operators for bot tasks. Consensus-building discussions requiring large community input (such as request for comments) should normally be held at WP:VPPROP or other relevant pages (such as a WikiProject's talk page).

You can check the "Commonly Requested Bots" box above to see if a suitable bot already exists for the task you have in mind. If you have a question about a particular bot, contact the bot operator directly via their talk page or the bot's talk page. If a bot is acting improperly, follow the guidance outlined in WP:BOTISSUE. For broader issues and general discussion about bots, see the bot noticeboard.

Before making a request, please see the list of frequently denied bots, either because they are too complicated to program, or do not have consensus from the Wikipedia community. If you are requesting that a template (such as a WikiProject banner) is added to all pages in a particular category, please be careful to check the category tree for any unwanted subcategories. It is best to give a complete list of categories that should be worked through individually, rather than one category to be analyzed recursively (see example difference).

Alternatives to bot requests

Note to bot operators: The {{BOTREQ}} template can be used to give common responses, and make it easier to keep track of the task's current status. If you complete a request, note that you did with {{BOTREQ|done}}, and archive the request after a few days (WP:1CA is useful here).


Please add your bot requests to the bottom of this page.
Make a new request
# Bot request Status 💬 👥 🙋 Last editor 🕒 (UTC) 🤖 Last botop editor 🕒 (UTC)
1 Implementing the outcome of Wikipedia talk:Naming conventions (television)#Follow-up RfC on TV season article titles BRFA filed 18 9 Wikiwerner 2024-04-20 17:49 Primefac 2024-03-27 12:55
2 Auto-WP:NAVNOREDIRECT Declined Not a good task for a bot. 10 5 Wikiwerner 2024-04-28 12:22 Primefac 2024-03-13 18:37
3 Bot to clean up wikiproject templates 8 2 Cocobb8 2024-03-24 15:05 GoingBatty 2024-03-23 19:12
4 Automatic NOGALLERY keyword for categories containing non-free files (again) 9 5 Wikiwerner 2024-05-15 18:43 Usernamekiran 2024-04-13 02:17
5 Automatically replace superscripts with sup and sub tags 5 3 Qwerfjkl 2024-04-06 19:54 Qwerfjkl 2024-04-06 19:54
6 Long-dash URL 1 1 GreenC 2024-04-08 22:16
7 Can we have an AIV feed a bot posts on IRC? 6 2 Lofty abyss 2024-04-29 10:29 Usernamekiran 2024-04-15 11:27
8 Bot to sync talk page redirects with their corresponding page 10 5 Anomie 2024-04-17 11:40 Anomie 2024-04-17 11:40
9 Bot to update match reports to cite template 3 2 Yoblyblob 2024-05-21 12:16 Mdann52 2024-05-21 09:03
10 Bot to mass tag California State University sports seasons 2 2 Primefac 2024-04-19 18:13 Primefac 2024-04-19 18:13
11 Football league infoboxes 7 4 Bagumba 2024-04-25 13:43 Primefac 2024-04-25 12:01
12 Clear Category:Unlinked Wikidata redirects 6 3 A smart kitten 2024-04-23 10:56 DreamRimmer 2024-04-21 03:28
13 Find linkrot with a specific pattern 7 3 GreenC 2024-05-01 16:20
14 Fixing stub tag placement on new articles Declined Not a good task for a bot. 4 3 Headbomb 2024-05-19 20:17 Headbomb 2024-05-19 20:17
15 User:RetractionBot, v2 3 3 Mdann52 2024-05-21 09:01 Mdann52 2024-05-21 09:01
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.


Bot to update WP:MOSTREFS

Wikipedia:Articles with the most references updates are done manually and majority of entries are severely outdated. It would be great if a bot could regularly handle the updates. Sanglahi86 (talk) 23:41, 25 November 2022 (UTC)[reply]

My bot can do the job. Teddythedev (talk) 15:08, 7 December 2022 (UTC)[reply]
will update you when the bot is created. Teddythedev (talk) 15:08, 7 December 2022 (UTC)[reply]
  • @Sanglahi86: Hi. I think Community Tech bot might be able to do that. —usernamekiran (talk) 06:07, 15 December 2022 (UTC)[reply]
    @Sanglahi86: Hi. Did you post the request anywhere else? I think I might be able to create a script for that purpose. —usernamekiran (talk) 11:21, 19 December 2022 (UTC)[reply]
    @Usernamekiran: Hello. I haven't posted the request anywhere else since I thought this was the best place to do so. It would be great if you could create the script/bot. I am not familiar with such technical stuff. Regards. –Sanglahi86 (talk) 13:28, 19 December 2022 (UTC)[reply]
    @Sanglahi86: Hello. I inquired so that I could update there as well that I am working on this. It will take around a week before I post the official bot request though. I will contact you soon. —usernamekiran (talk) 14:42, 19 December 2022 (UTC)[reply]

Coding... Almost done, but needs some finalising work. —usernamekiran (talk) 09:12, 20 December 2022 (UTC)[reply]

Hello. Sorry to bug you, but it has been almost a month now, so I thought of asking about the status of the bot being coded. Thanks. Sanglahi86 (talk) 19:38, 17 January 2023 (UTC)[reply]
@Sanglahi86: Hi. The code is ready, and accurate. I tested it on small categories, but I want to optimise it further. Because of the lack of time, I think it will take around 4-5 days more to finalise the code/filing the official request for bot. —usernamekiran (talk) 23:11, 17 January 2023 (UTC)[reply]

Block notices about coloured backgrounds

When administrators place block notices on user talk pages, they mostly come with a coloured background but I have noticed the colour has gone for notices earlier than a certain date. I think that is because <div class="user-block" style="min-height: 40px"> does not work and should be changed to <div class="user-block" style="padding: 5px; margin-bottom: 0.5em; border: 1px solid #a9a9a9; background-color: #ffefd5; min-height: 40px"> to restore the original display of the messages posted at the time of when they were announced. See [1] for the disappeared colour background, [2] which features the coloured background and User:Iggy the Swan/sandbox for the different results where I know what to do. Thanks - Iggy (Swan) (Contribs) 21:53, 13 December 2022 (UTC)[reply]

Previously MediaWiki_talk:Common.css/Archive_18#Removing_user-block, where it was decided this wasn't worth fixing. I added it to my common.css when that happened, and suggest you do the same rather than request a bot run of this scale. * Pppery * it has begun... 22:10, 13 December 2022 (UTC)[reply]
^ Izno (talk) 01:42, 20 December 2022 (UTC)[reply]

I started this discussion about how there seem to be about 600 hand-done versions of this template onwiki. See background at that page. I have no idea what kinds of sharp edges there might be to this, or how much regularity there is for the issue, but I can't imagine that a bot will do worse to convert these than doing all 600 by hand. Izno (talk) 01:48, 20 December 2022 (UTC)[reply]

His/Her Majesty

  1. Create template {{HM}} that can hold "His Majesty" or "Her Majesty" depending on the sex/gender of the monarch of the United Kingdom.
  2. Create a bot to replace instances of "His Majesty" and "Her Majesty" with this template.

79.185.136.221 (talk) 19:57, 29 December 2022 (UTC)[reply]

It's a good suggestion for the ideas lab, and I can see a few uses such as His Majesty's Coastguard, but those words often occur in a phrase such as "Her Majesty the Queen" or "His Majesty King Charles" which needs amending anyway. There are also plenty of uses such as Her Majesty's Theatre which don't change when the monarch changes, not to mention many references to other monarchs around the world. Her Majesty served us for 70 years, and it may well be another 70 years until the UK next has a queen. Certes (talk) 21:44, 29 December 2022 (UTC)[reply]
This has been discussed several times, and rejected as pointless – a case of shutting the barn door after the horse has fled. It will remain "His Majesty" until at least the current king, his older son, and his eldest grandson have died, and even longer if the grandson's first child is male. If we assume something on the order of a typical lifespan for each, then we won't need to make this change for at least another seventy years or so. Please come back and suggest this when the heir apparent is a woman. WhatamIdoing (talk) 22:42, 29 December 2022 (UTC)[reply]
Even then, if it's proposed for other countries for instance, or someone wants a bot to find current instances of 'Her Majesty' I still think this is a bad idea. Historical references should stay as they are, some organisations may not be renamed immediately (or ever), and unless we have a source that something has been renamed automatically, we should use the old one. JeffUK 00:14, 13 January 2023 (UTC)[reply]
Finding instances of "Her Majesty" would be a useful task. The small sample I checked have all been updated diligently where appropriate but we may have missed a few which still need fixing. However, that doesn't need a bot: a simple search will do fine. Certes (talk) 11:30, 13 January 2023 (UTC)[reply]

WikiProject bot

Could someone please send a bot through Category:Unknown-importance medicine articles and mark every article that is also in Category:WikiProject Biography articles (or any subcat, or that otherwise gives you any reason at all to suspect that the article is primarily about a person) with |importance=Low|society=yes for me? This would probably involve several hundred edits.

Most articles that get tagged with {{WPMED}} are people or organizations (e.g., hospitals, medical schools, health charities, businesses) that we just don't care about. All of these should be tagged as |importance=Low|society=yes . The biographies are just the ones I'm sure that a bot could find. If you have ideas about how to find the rest, I'd love to hear them.

Also, if you happen to have an mw:ORES-aware bot, then I'd love to have it tag all the stubs as |class=Stub as well. I have checked enough (thousands of) ORES scores for stubs to know that it is extremely reliable for that rating, and we do see a lot of stubs. WhatamIdoing (talk) 22:49, 29 December 2022 (UTC)[reply]

@WhatamIdoing, a simple intersection search gives 666 results. It looks like ORES has an article topic feature, mw:ORES/Articletopic, that can predict if an article is a biography. — Qwerfjkltalk 05:26, 30 December 2022 (UTC)[reply]
...and it can be used in a search.
I'd be happy to do this, but it might be suitable for a semi-automated run, as there are only 666 edits or so. — Qwerfjkltalk 05:34, 30 December 2022 (UTC)[reply]
about how to find the rest ORES might work similarly for these as well. — Qwerfjkltalk 05:36, 30 December 2022 (UTC)[reply]
I've reviewed the entire list of 666 results, and taken a side trip to learn about the tradition of double-barrelled surnames in Britain. All of these look like prime candidates for exactly what I'd like to have done. I would be happy to have you use whatever method you believe is best suited.
BTW, it's unlikely, but if you should get any complaints, please ping me. It can be disappointing to discover that some group thinks your favorite subject is "low importance", and the correct parameter is (unfortunately) |importance=. We never did convert it to |priority (good idea, but maybe not worth flooding the watchlists, and the template does not treat them as exact aliases). WhatamIdoing (talk) 06:21, 30 December 2022 (UTC)[reply]
I'll be able to do this in around a week. If anyone else can do it earlier, they're welcome to. I'm currently away from my computer, so it'd be hard to complete this, sorry! — Qwerfjkltalk 21:24, 1 January 2023 (UTC)[reply]
@WhatamIdoing,  Done. — Qwerfjkltalk 20:41, 8 January 2023 (UTC)[reply]
Thank you! WhatamIdoing (talk) 23:34, 8 January 2023 (UTC)[reply]

Mark Catholic News Service links added before 30 December 2022 as dead and add archive

Moved to WP:URLREQ
 – * Pppery * it has begun... 01:08, 3 January 2023 (UTC)[reply]

Automation of law task force tagging under WPNZ banner

Hello, after a (very) brief discussion on WT:NZLAW, I'm just requesting if someone is able to automate an edit that goes through all of the talk pages of article's in the categories below (and their subcategories) to edit their Template:WikiProject New Zealand banner to add the law = yes parameter. An example of a correctly tagged law task-force page is Make It 16 Incorporated v Attorney-General. In doing this, there may be duplicates across the categories (and/or their subcategories), also a few of these articles will also already have the law = yes parameter set. So you may also have to account for this (ideally this would include tagging articles without the WPNZ banner with that banner and the law parameters, so we don't miss any).

This is to help mark all of articles that are relevant to the law task-force (WP:NZLAW) which is in the process of establishment and getting started after a (far longer) conversation on WT:NZ.

Category:Statutes of New Zealand, Category:Supreme Court of New Zealand cases, Category:Court of Appeal of New Zealand cases, Category:High Court of New Zealand cases, Category:District Court of New Zealand judges, Category:High Court of New Zealand judges, Category:Court of Appeal of New Zealand judges, and Category:Supreme Court of New Zealand judges.

Thank you all, I appreciate it. Carolina2k22(talk)(edits) 08:08, 4 January 2023 (UTC)[reply]

If the bot adds law-importance= then the article will be added to Category:Unknown-importance New Zealand law articles which will allow project members to go through and assign importance to these entries.-gadfium 08:24, 4 January 2023 (UTC)[reply]
@Gadfium, so you suggest adding law = yes and law-importance =?
I suppose I'll do this as well if I do the one above (though this may need an actual BRFA). — Qwerfjkltalk 09:31, 4 January 2023 (UTC)[reply]
I would say so, yes. Mostly as it would be far more useful if we could go and sift through to assess importance. Carolina2k22(talk)(edits) 09:50, 4 January 2023 (UTC)[reply]
 Doing— Qwerfjkltalk 17:33, 12 January 2023 (UTC)[reply]
@Carolina2k22,  Done. — Qwerfjkltalk 20:19, 12 January 2023 (UTC)[reply]
Thank you, I appreciate it! Carolina2k22(talk)(edits) 15:06, 13 January 2023 (UTC)[reply]

Accelerated Mobile Pages link eradicator needed

There was a fairly clear consensus in the discussion at Wikipedia:Village pump (technical)/Archive 202#Accelerated Mobile Pages links that "amp" links are a bad thing, and should be done away with. Can a bot be written that tests links to insure that a version with the ".amp" or ",amp" or "/amp" component removed will work, and if so, remove that component? BD2412 T 23:40, 4 January 2023 (UTC)[reply]

Good idea, but I think it would need a per-site rule list, e.g. amp.example.com/(.*) → example.com/$1, because each site is free to choose its own URL semantics. It's even possible that some sites can't be unpicked (raw page at /raw/87293410.html; AMP at /amp/1934872.html) or don't work without AMP at all. Certes (talk) 12:42, 5 January 2023 (UTC)[reply]

translation

looking for a translation bot for work on the luganda Wikipedia — Preceding unsigned comment added by 41.75.189.46 (talk) 07:01, 9 January 2023 (UTC)[reply]

Change parameters of template

Would it be feasible to make about 500 changes of the following type?

  • From {{Lighthouse identifiers | qid2=Q123455 | qid3=Q23456}}
  • To {{Authority control | additional=Q123455,Q23456}}

I started using separate parameters for these and now I realise that a comma-separated list is more user-friendly. Parameters from qid2 up to qid5 are possible. Note that Template:Lighthouse identifiers is a redirect to Template:Authority control so we are bypassing a redirect at the same time. Thanks for any help. — Martin (MSGJ · talk) 20:55, 11 January 2023 (UTC)[reply]

@MSGJ, I could do this (after I get round to making a list of the pages needed for #Automation of law task force tagging under WPNZ banner), there shouldn't be too much change to the code. Do you have a list of pages? — Qwerfjkltalk 21:57, 11 January 2023 (UTC)[reply]
Thanks. It would be all transclusions of Template:Lighthouse identifiers — Martin (MSGJ · talk) 21:58, 11 January 2023 (UTC)[reply]
@MSGJ, great. I'll try and complete both of these tomorrow, or Friday failing that. — Qwerfjkltalk 22:00, 11 January 2023 (UTC)[reply]
I've started using using mwparserfromhell which makes these tasks way easier. — Qwerfjkltalk 22:02, 11 January 2023 (UTC)[reply]
@MSGJ, I've written the code for this. I'll run it as soon as I finish the task above (so as not to exacerbate any errors). — Qwerfjkltalk 18:11, 12 January 2023 (UTC)[reply]
 Doing— Qwerfjkltalk 20:19, 12 January 2023 (UTC)[reply]
I am online now, so if you would like to make 10 edits and I will check to make sure it is correct? — Martin (MSGJ · talk) 20:26, 12 January 2023 (UTC)[reply]
Too late I see. Anyway all looking good Thumbs up icon — Martin (MSGJ · talk) 20:33, 12 January 2023 (UTC)[reply]
@MSGJ,  Done. — Qwerfjkltalk 21:57, 12 January 2023 (UTC)[reply]
Many thanks for your dedication and efficiency — Martin (MSGJ · talk) 22:09, 12 January 2023 (UTC)[reply]

Bot to Automate Subtitles Template

Currently, there are over 8,000 audio sample files uploaded to Wikipedia, which mostly includes song snippets: Category:Wikipedia non-free audio samples. Of those audio samples, many of them contain subtitles. Just for now, I'll use this page as an example: File:Green Day - Holiday.ogg

If you click on the "TimedText" tab, you will come to this webpage: TimedText:Green Day - Holiday.ogg.en.srt, which includes the subtitles created by a community member. And to monitor which audio files contain one of these samples, a subtitles template is placed on the file's page, which will add that file to this category: Category:Wikipedia files with subtitles. It also helps people like me who help add subtitles quickly check to see if they already exist for that file.

However, not every file with subtitles contains this template, which stifles the template's usefulness quite a lot. Fortunately, adding this template seems like in a one-time run-through seems like it can be automated quite easily:

(1) Check if the page en.wikipedia.org/wiki/TimedText:[file name].en.srt exists

(2) If the page returns "There are currently no subtitles in English for this video, you can edit this page to add them," then the bot should move on to the next file

(3) Otherwise, the bot should go back to the file page, create a new line at the top (typically above the "Summary" section), and insert the Subtitles template with en as the first parameter and [file name].en.srt as the second

I'm not too good with coding though, and I'm not sure how, and if, such an operation can be done. If anyone could lend me a hand with this, that would be much appreciated :) -- Leafy46 (talk) 20:19, 16 January 2023 (UTC)[reply]

Send a message to everyone in WikiProject Michigan/Detroit

Hey everyone! I am looking to organize a Michigan-based Wikipedia event, perhaps around 3 days, where we could all meet around a certain theme or themes. Let me know what you think? I am mostly active within the cultural and music-based worlds of Wikipedia, so that is my expertise. This is the first time I am trying to organize something like this so please if anyone has any advice or would like to help me I am all ears. I am posting this notice on the Ann Arbor and Michigan pages as well. JohnDVandevert (talk) 03:39, 22 January 2023 (UTC)[reply]

I think you are looking for WP:MMS, not a bot. Also, not a great idea to post your personal details here (which I have removed). Primefac (talk) 12:47, 22 January 2023 (UTC)[reply]