Wikipedia:AutoWikiBrowser/Tasks

(Redirected from Wikipedia:AWBREQ)
Latest comment: 2 hours ago by Geardona in topic Bulk U1 delete

This page is for tasks that involve changing the same code in multiple articles. This is a great fit for editors with AutoWikiBrowser permissions.

Please note that Wikipedia:Bot requests sometimes has one-time tasks which can be done easily using AWB. For modifying URLs see WP:URLREQ.

See also Wikipedia:WikiProject Check Wikipedia.

False last and first names in references edit

Could someone run AWB to remove the name "Bureau, US Census" from "cite web" references? I see it as "last1=Bureau" and "first1=US Census", or maybe "last=Bureau" and "first=US Census". Kk.urban (talk) 01:20, 9 March 2024 (UTC)Reply

  Working on some REGEX for this, will post here because page list looks huge. Geardona (talk to me?) 01:34, 9 March 2024 (UTC)Reply
REGEX (replace with nothing) [lL]ast=Bureau|[fF]irst=US Census|[lL]ast\d=Bureau|[fF]irst\d=US Census Geardona (talk to me?) 01:39, 9 March 2024 (UTC)Reply
Support Sounds fun! Chaotıċ Enby (talk · contribs) 01:50, 9 March 2024 (UTC)Reply
How big is huge, Geardona? If it's >500 pages it might be worth a bot. (please do not ping on reply) Primefac (talk) 12:26, 11 March 2024 (UTC)Reply
Could be about 7,000 - there are some false positives. -- GreenC 14:56, 11 March 2024 (UTC)Reply
@GreenC: Including an insource search for |first[0-9]?= shrinks the results to less than 4,500. GoingBatty (talk) 14:17, 12 March 2024 (UTC)Reply
I think there is some process already in place for removing "Writer, Staff", "Correspondent, Own" and other proforma names. Sadly, I can't recall exactly who or what does this and how often but, if someone can track them down, we may be able to add the prolific Mr. Bureau to an existing list of unwelcome authors. Certes (talk) 16:57, 9 March 2024 (UTC)Reply
@GoingBatty and BattyBot: I think. Neils51 (talk) 05:05, 12 March 2024 (UTC)Reply
@Certes: Another option could be to request that "Bureau" be added to the list of unwelcome authors in Category:CS1 errors: generic name. GoingBatty (talk) 14:22, 12 March 2024 (UTC)Reply
The |website=, |work=, |publisher= fields need normalization, but that is a very big job for census.gov probably 100s of thousands of pages. They should probably be set to United States Census Bureau. It might need to be done incidentally, with other work, to avoid lighting up watchlists too fast eg. every small town in America. -- GreenC 15:14, 11 March 2024 (UTC)Reply
@GreenC: Maybe you could ask Ohconfucius to include this in their Fix SOURCES script. GoingBatty (talk) 14:11, 12 March 2024 (UTC)Reply
I was looking in JWB and it maxed out at 1500. Geardona (talk to me?) 23:31, 11 March 2024 (UTC)Reply
@Kk.urban: I think a bot should only remove the name "Bureau, US Census" if some form of "US Census Bureau" is included in one of the other parameters. What do you think? GoingBatty (talk) 14:10, 12 March 2024 (UTC)Reply
Yes, good idea. Kk.urban (talk) 15:20, 12 March 2024 (UTC)Reply
@Kk.urban and Geardona: - I thought Gerdona's "Working.." icon above meant they were doing to do this, but maybe they were just creating a regex to find the pages. In which case, it doesn't look like anyone has volunteered to do this. -- GreenC 01:22, 21 March 2024 (UTC)Reply
I am currently working on it, but have been stuck on mobile for a few days. I can keep going in a little bit. I also paused for the bot discussion. Geardona (talk to me?) 01:28, 21 March 2024 (UTC)Reply
Thanks. -- GreenC 01:31, 21 March 2024 (UTC)Reply
@Geardona: Did you really mean to remove 100k of text from Kentucky? I tried to restore it, but I can't because of certain sources appear to be censored. @Kk.urban, GreenC, GoingBatty, and Certes: --David Tornheim (talk) 05:30, 21 March 2024 (UTC)Reply
Im well aware of the issue, I don't think theres anything I can do, its all reverted now (thanks discord people) but I have diff max size set to 150, so Im not sure if this is possible. Geardona (talk to me?) 05:34, 21 March 2024 (UTC)Reply
Glad it's fixed. I hated to tag so many editors over this, but I wanted to be sure it got corrected ASAP, since I couldn't do it. --David Tornheim (talk) 05:36, 21 March 2024 (UTC)Reply
Just noting I am still working through the list, although would appreciate bot help as soon as possible/practical. Geardona (talk to me?) 16:16, 29 March 2024 (UTC)Reply

Could AWB go through this list? edit

Wikipedia:Database reports/Long stubs OrdinaryGiraffe (talk) 01:35, 16 March 2024 (UTC)Reply

Reasons: cricket is getting nearly 150 hits, almost all of which I had stub applied in a boilerplate way long ago.
Same for 20, which turns up 20xx years. They are getting almost 500 hits. OrdinaryGiraffe (talk) 01:42, 16 March 2024 (UTC)Reply
Note: Category:Cricket season stubs only has 300 articles, and Category:Cricket competitions only 150, so this is pretty significant. Alternatively, I could ask the WikiProject to look into this. Never mind, the list got updated, but it would still be nice for AWB to deal with it. OrdinaryGiraffe (talk) 01:49, 16 March 2024 (UTC)Reply
What are you looking for us to do; get rid of the stub templates? Geardona (talk to me?) 06:22, 16 March 2024 (UTC)Reply
As long as it's more than the AWB soft limit of 500 words exculding templates and tables, yes. OrdinaryGiraffe (talk) 15:52, 16 March 2024 (UTC)Reply
So remove stub templates from those articles, consider me   Working on it. Geardona (talk to me?) 17:31, 16 March 2024 (UTC)Reply
P.S. Is their a policy discussion about rating articles like this one? Less than 20 around 40 words, but 101KB size. OrdinaryGiraffe (talk) 18:04, 16 March 2024 (UTC)Reply
I would say that is list class. Geardona (talk to me?) 18:16, 16 March 2024 (UTC)Reply
Note that this is still being worked on. Geardona (talk to me?) 06:21, 21 March 2024 (UTC)Reply
Could AWB fix the list class (but tagged stub class in Talk) less than 500 words ones as well? Or would that require a bot? OrdinaryGiraffe (talk) 20:38, 23 March 2024 (UTC)Reply
I’m not sure that’s possible in any way but manual, I can try to spin up some regex. But it really does not sound possible. As for the bot question, I don’t think that’s possible either. Geardona (talk to me?) 20:47, 23 March 2024 (UTC)Reply

Remove external-links entry for druginfo (dead site) edit

Per Wikipedia talk:WikiProject Medicine#druginfo.nlm.nih.gov is dead (and antecedent discussions linked therein), 'druginfo.nlm.nih.gov' is permanently dead, but is listed in (quick guestimate) several hundred External Links sections. The task is to remove those entries altogether from pages where the infobox already has a link to the replacement site. JWB is flaky for me and I can't use AWB, hence this request. The specific edit is to delete lines of this form:

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

where the underlined strings could vary, in pages that contain the regexp:

/\|\s*PubChem\s*=\s*\d/

that is, a |PubChem= template field that has a numerical value. DMacks (talk) 21:21, 18 March 2024 (UTC)Reply

@DMacks: wait, if it's external links sections that are the problem, why are we deleting citation templates? Snowmanonahoe (talk · contribs · typos) 00:37, 19 March 2024 (UTC)Reply
It indeed was noted in the discussion I linked that they should not have been formatted as citations in the first place. The items to remove are bullet-list, not footnote or any sort of named ref. Once these are gone, we plan to manually deal with the cases that are actually used as refs. DMacks (talk) 02:33, 19 March 2024 (UTC)Reply
I've made a regex, and that's all I have time for tonight.
\n\* ?\{\{[cC]ite web *\| *url *= *https?://druginfo.nlm.nih.gov/drugportal/name/(.+) *\| *publisher *= *U\.S\. National Library of Medicine *\| *work *= *Drug Information Portal *\| *title *= * (.+) *\}\}
If someone decides to finish this for me:
I'll have this done sometime tomorrow night probably. Snowmanonahoe (talk · contribs · typos) 04:12, 19 March 2024 (UTC)Reply
  Done Snowmanonahoe (talk · contribs · typos) 20:04, 20 March 2024 (UTC)Reply
Thanks for working on that! Any idea why it didn't pick up Phencyclidine? DMacks (talk) 10:04, 23 March 2024 (UTC)Reply
It doesn't have the pubchem parameter filled in the infobox. Snowmanonahoe (talk · contribs · typos) 15:38, 23 March 2024 (UTC)Reply
Here is around line 50:
| ATC_prefix = None
| PubChem = 6468
| DrugBank_Ref = {{drugbankcite|correct|drugbank}}
DMacks (talk) 15:59, 23 March 2024 (UTC)Reply
I... don't know. Snowmanonahoe (talk · contribs · typos) 19:28, 31 March 2024 (UTC)Reply

Events at the European Track Championships‎ edit

Please could somebody tag and list Category:Events at the European Track Championships‎ and its 25 subcats for speedy renaming to "UEC European Track Championships‎" under C2D? – Fayenatic London 11:57, 26 March 2024 (UTC)Reply

@Fayenatic london, I'm happy to assist with tagging, but I'm not quite sure how to go about listing them at WP:CFDS. Would you be able to take care of that part? – DreamRimmer (talk) 12:12, 26 March 2024 (UTC)Reply
Thank you – yes, I'll be happy to do that. I'd paste the current names into Excel and use text formulas to create the nomination lines. – Fayenatic London 12:15, 26 March 2024 (UTC)Reply
Tagging – DreamRimmer (talk) 12:29, 26 March 2024 (UTC)Reply
@Fayenatic london, done – DreamRimmer (talk) 12:50, 26 March 2024 (UTC)Reply
Thanks very much – now listed at WP:CFDS. – Fayenatic London 13:27, 26 March 2024 (UTC)Reply

Adding Author Links edit

I have created two articles recently of sportswriters widely cited on Wikipedia: Cliff Christl and Bud Lea. I was wondering if someone could query any instance of:

  1. | last = Christl | first = Cliff within any {{Cite}} template (such as {{Cite web}} or {{Cite news}}) and then add in | author-link = Cliff Christl to the template
  2. | last = Lea | first = Bud within any {{Cite}} template (such as {{Cite web}} or {{Cite news}}) and then add in | author-link = Bud Lea to the template

There is also one other I run into a lot:

  1. | last = Daley | first = Art within any {{Cite}} template (such as {{Cite web}} or {{Cite news}}) and then add in | author-link = Art Daley to the template

Thank you for any assistance. « Gonzo fan2007 (talk) @ 16:04, 29 March 2024 (UTC)Reply

  •   Done Okay, I'm checking on something at Wikipedia Talk:CITE before I actually start making the full run on this. I made the first edit, but with somewhere around 159 citations of Cliff Christl in that single article, I wanted to check whether we should be linking all of them, or just the first instance. VanIsaac, GHTV contWpWS 01:16, 30 March 2024 (UTC)Reply
  • Looks like any concerns are minor. I'll start up again and skip any pages that are problematic. VanIsaac, GHTV contWpWS 00:37, 31 March 2024 (UTC)Reply
Task is complete, with 296 edits. VanIsaac, GHTV contWpWS 01:29, 31 March 2024 (UTC)Reply
Thank you Vanisaac! Is there any way you could check one more for me? Lee Remmel? « Gonzo fan2007 (talk) @ 16:13, 1 April 2024 (UTC)Reply
@Gonzo fan2007, check here. – DreamRimmer (talk) 17:20, 1 April 2024 (UTC)Reply
Do you need help adding the author link? – DreamRimmer (talk) 17:27, 1 April 2024 (UTC)Reply
If that's all of them, then I got'em all! Thanks :) « Gonzo fan2007 (talk) @ 17:29, 1 April 2024 (UTC)Reply

Request for Missing encyclopedic articles/DNB Epitome 01 edit

Wikipedia:WikiProject Missing encyclopedic articles/DNB Epitome 01

Could someone with AWB skills move the checkmarks and x's from the end of the lines to the beginning of the lines, after the bullet points? It's quicker to check that way (like at Wikipedia:WikiProject Dictionary of National Biography/Naval biographies). Could you do it at the other 62 epitome pages in the category as well? Thanks, ~WikiOriginal-9~ (talk) 18:08, 31 March 2024 (UTC)Reply

Regex: ^\*(.+?)((\{\{tick\}\}|\{\{cross\}\})+)(.*)$ --> *$2$1$4. Not on a powerful enough computer to run this at the moment. Snowmanonahoe (talk · contribs · typos) 19:19, 31 March 2024 (UTC)Reply
  Partly done I have moved checkmarks and X's in Wikipedia:WikiProject Dictionary of National Biography/Tractarians and Wikipedia:WikiProject Missing encyclopedic articles/DNB Epitome 01. Although, for a few entries, a single tick was moved instead of a double tick. These are just a few instances, so you can handle them manually. As for other pages in this category, I don't see an immediate need for this change, but anyone willing can make the adjustment. Thanks, Snowmanonahoe for the regex. – DreamRimmer (talk) 12:27, 1 April 2024 (UTC)Reply
  Doing... Snowmanonahoe (talk · contribs · typos) 22:06, 1 April 2024 (UTC)Reply
New regex (if you're curious: ^\*(?<left>.+?)(?<symbols>(\s*?\{\{(tick|cross)\}\})+)(?<right>.*)$) works for the first couple pages, so I'm not going to check my edits anymore (or I'll be here forever) Snowmanonahoe (talk · contribs · typos) 22:10, 1 April 2024 (UTC)Reply
  Done Snowmanonahoe (talk · contribs · typos) 22:30, 1 April 2024 (UTC)Reply

Portal move edit

Recently, the main page for Calvinism was renamed following an RM to Reformed Christianity. Subsequently, the portal was moved to Portal:Reformed Christianity. Could someone fix all the template links from {{Portal|Calvinism}} to {{Portal|Reformed Christianity}}? I have already updated the images so that both

and

work. But we should use the right name. -- JFHutson (talk) 16:24, 12 April 2024 (UTC)Reply

Just a quick look at the what links here for that redirect is… concerning at best, 500+ pages. I unfortunately have other JWB projects that I’m working on right now. Geardona (talk to me?) 16:55, 12 April 2024 (UTC)Reply
After fixing some templates it's down to "only" 300 in the mainspace. -- JFHutson (talk) 17:59, 12 April 2024 (UTC)Reply
ok, thats doable in an hour or 2 max, getting started now... Geardona (talk to me?) 18:00, 12 April 2024 (UTC)Reply
Do you want all of the links changed of just the portal box thing? Geardona (talk to me?) 18:10, 12 April 2024 (UTC)Reply
Mostly the box. But if there are links that show the old name in the main space it would be good to refer to it using the new name. — JFHutson (talk) 18:16, 12 April 2024 (UTC)Reply
Ok, cool...   Doing... Geardona (talk to me?) 18:18, 12 April 2024 (UTC)Reply
Feel free to check my recent contributions, got a few of them done, still working on tracking down all of the edge cases. Geardona (talk to me?) 18:33, 12 April 2024 (UTC)Reply
Looks good, really appreciate it! -- JFHutson (talk) 19:04, 12 April 2024 (UTC)Reply
  Done mainspace, cleaning up the ones that need manual editing now. Geardona (talk to me?) 19:28, 12 April 2024 (UTC)Reply
  Done for Category, Project (Wikipedia) and User spaces. The remaining links are from talk pages or obsolete lists, and can be ignored. – Fayenatic London 08:37, 16 April 2024 (UTC)Reply

Add 2 category header templates edit

Hi. Please do the following:

Thanks. Jeeputer Talk 19:11, 17 April 2024 (UTC)Reply

Btw I already edited Category:2024 controversies and Category:2020s controversies and added these templates. Jeeputer Talk 19:16, 17 April 2024 (UTC)Reply
Jeeputer,   Done via Bandersnatch. No categories had a commons cat template. — Qwerfjkltalk 07:48, 18 April 2024 (UTC)Reply

WikiProject Weather edit

I'm requesting someone with AWB experience to run the editor on the entirety of Category:WikiProject Weather articles. There are countless (thousands?) of references that use {{cite report}} with the |agency= parameter, which breaks the citation. |agency= needs to changed to |author=. wxtrackercody (talk · contributions) 03:20, 21 April 2024 (UTC)Reply

It looks like many of these "agency" parameters are used with "cite report" template calls, and that "publisher" may be a better alternative parameter name than "author" in such cases, unless already used. The "agency" parameter is valid with other templates such as "cite news". —ADavidB 04:59, 21 April 2024 (UTC)Reply
Yeah, and in our circumstance, publisher is already used. Here is an example of the types of citations that are causing this issue. This is a report on an individual tornado. The data is collected by the local National Weather Service office (which we have historically/erroneously listed as the agency=). It is published, however, on the National Centers for Environmental Information website (which we have historically listed as the publisher=). We have struggled with the proper way to format these references. It would probably be simplest to just exchange agency= for author=. wxtrackercody (talk · contributions) 05:48, 21 April 2024 (UTC)Reply
Agreed, on further examination. My AWB usage remains somewhat basic and I encourage others to take on this task. —ADavidB 05:56, 21 April 2024 (UTC)Reply
I don't think awb request or a sledge hammerapproach is appropriate here at this time. Imstead i think it would be more appropiate to look at theae references properly, have a project discussion on how to cite them better or get the agency parameter added to cite report.06:30, 21 April 2024 (UTC) Jason Rees (talk) 06:30, 21 April 2024 (UTC)Reply

I disagree with Jason Rees (talk · contribs). I think this is a great usage of AWB, as it will correct the thousands of references in one quick action. ♫ Hurricanehink (talk) 21:19, 22 April 2024 (UTC)Reply

I endorse the request here, though I would clarify the scope of what's requested. Specifically, there is widespread use of {{cite report}} misusing the |agency= parameter specifically for references linking to the Storm Events Database hosted by the National Centers for Environmental Information. In some cases, NCEI is erroneously listed as the agency. In other cases, a weather forecast office of the National Weather Service is erroneously listed as the agency. In either case, the agency parameter should be removed for all {{cite report}} in the aforementioned project category that point to https://www.ncdc.noaa.gov/stormevents/ and its subpages (as linked previously). If the |agency= was listed as a forecast office (something of the form National Weather Service Office in Memphis, Tennessee, though National Weather Service* may be a reasonable catch-all), then it should be listed as the |author=. If necessary, |publisher=National Centers for Environmental Information should be amended/appended to the citation template. TheAustinMan(TalkEdits) 15:04, 23 April 2024 (UTC)Reply

Add navbox Template:Health departments in the United States to applicable pages edit

Please add the navbox {{Health departments in the United States}} to all pages in Category:Health departments in the United States. GobsPint (talk) 04:52, 22 April 2024 (UTC)Reply

The transclusion check might be a better option for knowing which pages need the navbox. Primefac (talk) 07:03, 22 April 2024 (UTC)Reply
  Doing... writing regex right now. Will get around to it later Geardona (talk to me?) 10:46, 22 April 2024 (UTC)Reply
  Done no regex needed! Check recent contribs for edits. Geardona (talk to me?) 10:57, 22 April 2024 (UTC)Reply
Thanks!GobsPint (talk) 17:38, 22 April 2024 (UTC)Reply

Wikilink all instances of both Champion Data and AFL Tables edit

I have recently created stub articles for both Champion Data and AFL Tables, which are major statistical players in the Australian Football League and have been referenced consistently across Wikipedia.

I am now please seeking an automation to add wikilinks to all instances of each phrase on Wikipedia.

I understand the second request is quite arduous! I hope there is not much human intervention required here; it shouldn't be the case as they are mostly part of citations / references. Please let me know if there is anything else required on my end. Thank you! Gibbsyspin 13:37, 22 April 2024 (UTC)Reply

I think that, to avoid CONTEXTBOT issues, the approach here is to only touch instances in citations, where afltables.com is present elsewhere within the ref tags. Probably could be done with an AWB bot. Would need a BRfA. Snowmanonahoe (talk · contribs · typos) 15:04, 22 April 2024 (UTC)Reply
The AFL Tables article is two days old and already has a WP:GNG tag. Linking it 13,000 times should probably wait until it's avoided deletion for a couple of months. Aspirex (talk) 13:17, 23 April 2024 (UTC)Reply

Bulk U1 delete edit

I created User:Nyttend/ZIP for a project that's now complete. It has fifty-one subpages, and I'd like to get all fifty-two deleted. Could you help?

Extended content

Top levelALAKAZARCACOCTDEFLGAHIIDILINIAKSKYLAMEMDMAMIMNMSMOMTNENVNHNJNMNYNCNDOHOKORPARISCSDTNTXUTVTVAWAWVWIWYarchive box

Thanks! Nyttend (talk) 21:51, 23 April 2024 (UTC)Reply

Sadly AWB even for admins does not have the delete ability, can you use Special:Nuke or do you want us to just place the U1 tag? Geardona (talk to me?) 21:58, 23 April 2024 (UTC)Reply
Sorry, I thought AWB deletion was an option. Don't worry about it. Nyttend (talk) 22:07, 23 April 2024 (UTC)Reply
No problem, let me know if you need anything else! Sorry I couldn't help! Geardona (talk to me?) 22:10, 23 April 2024 (UTC)Reply