Jump to content

Wikipedia:AutoWikiBrowser/Tasks

From Wikipedia, the free encyclopedia

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 are sometimes one-time tasks which can be done easily using AWB. Requesting modifications to URLs, such as marking dead or changing to a new domain, use WP:URLREQ. See also Wikipedia:WikiProject Check Wikipedia.

Pretty much every template listed in Category:South Korea pop music group navigational boxes, Category:Girl group navigational boxes and Category:Boy band navigational boxes is also included in its group's eponymous category (example: Template:Aespa is included in Category:Aespa).

Guideline at WP:CAT#T says that "templates are not articles, and thus do not belong in content categories." - Is it possible for an AWB wizard remove these templates from their eponymous categories?RachelTensions (talk) 02:33, 20 October 2024 (UTC)[reply]

@RachelTensions yeah I'll take a look at it for you. Dr vulpes (Talk) 02:49, 20 October 2024 (UTC)[reply]
@RachelTensions  Done eponymous categories removed from 102 templates, 148 were already fine. If I missed any or made a mistake please let me know! Ultraodan (talk) 08:53, 15 November 2024 (UTC)[reply]
Perfect, thank you! RachelTensions (talk) 14:05, 15 November 2024 (UTC)[reply]

Add/replace stub tags

[edit]

Please add {{Independent-record-label-stub}} to all articles in this report, and remove the top level Category:Independent record labels and {{record-label-stub}}, but not any national subcategories/templates thereof. Mach61 15:12, 18 November 2024 (UTC)[reply]

Doing – DreamRimmer (talk) 15:21, 18 November 2024 (UTC)[reply]
@Mach61:Creation Stories (film) article is about a film, not a record label. I made an edit, so please review the list of articles again and remove any that are not related to the subject of this stub template. – DreamRimmer (talk) 16:24, 18 November 2024 (UTC)[reply]
@DreamRimmer simply changing the depth from 2 to 1 removes six false positives and only one false negative (Elevation Records, which I manually tagged). Modified report. Mach61 17:37, 18 November 2024 (UTC)[reply]
I have edited 51 pages and am pausing for now. Anyone can complete the remaining pages, or I will handle them tomorrow. – DreamRimmer (talk) 16:31, 18 November 2024 (UTC)[reply]
 Working Feel free to go through and finish it up, but I got a few more. Geardona (talk to me?) 21:26, 18 November 2024 (UTC)[reply]
 Working on some. ~/Bunnypranav:<ping> 10:43, 22 November 2024 (UTC)[reply]
@Mach61  Done, this query shows empty, I have added Independent record label stubs as a negative to remove done pages. ~/Bunnypranav:<ping> 11:28, 22 November 2024 (UTC)[reply]

WikIProject tagging

[edit]

Cross-posting a request that I think might be small enough for an AWB run (I'm roughly counting only about 300 pages). See WP:BOTREQ § Tagging Category:Cinema of Belgium for more information. Primefac (talk) 14:34, 23 November 2024 (UTC)[reply]

Remove wikidata redirect where it doesn't apply

[edit]

Could someone please remove {{Wikidata redirect}} from these 541 pages. All of these are soft redirects not connected to Wikidata, and soft redirects generally shouldn't be connected to Wikidata so the concerns raised at Wikipedia:Bot requests/Archive 86#Clear Category:Unlinked Wikidata redirects shouldn't apply. * Pppery * it has begun... 20:09, 25 November 2024 (UTC)[reply]

 Doing... VanIsaac, GHTV contrabout 21:13, 25 November 2024 (UTC)[reply]
 Done. Three pages didn't have the template - Sottoscala, Frog march, and Can of whoop ass. List is stored on userspace page. VanIsaac, GHTV contrabout 21:44, 25 November 2024 (UTC)[reply]

Fix "Census" over-capitalization

[edit]

We have about 5000 articles with non-piped (visible) links to over-capitalized census redirects such as 2020 United States Census, and lots more with piped links, accounting for the great majority of links listed in the report Wikipedia:Database reports/Linked miscapitalizations. I expect that at least these will be easy to tackle with AWB. Dicklyon (talk) 02:50, 4 December 2024 (UTC)[reply]

Can you provide a diff with an example edit fixing this error? VanIsaac, GHTV contrabout 08:16, 4 December 2024 (UTC)[reply]
Here's one. And here's a diff showing 2 fixes, one piped and one not. Dicklyon (talk) 17:16, 5 December 2024 (UTC)[reply]
I've been working on these issues for some time. I have settings files in AWB that target the capitalized versions of our articles for different countries, and there are a lot of them. Dawnseeker2000 17:25, 5 December 2024 (UTC)[reply]
Indeed, I see over 22,000 candidates here, and there are lots more. Perhaps best to divide and conquer, as you look pretty fully occupied? And yes I'd be happy to call and chat. Dicklyon (talk) 17:45, 5 December 2024 (UTC)[reply]
That'd be great! Dawnseeker2000 20:22, 5 December 2024 (UTC)[reply]
I don't think that is a good search parameter for candidates. If I understand the report correctly, it comes from the link part being incorrectly capitalized, not the text. VanIsaac, GHTV contrabout 00:30, 7 December 2024 (UTC)[reply]
I'm sure better searches are possible, but that simple one does find text, not piped links (which would also be worth finding and fixing). Dicklyon (talk) 00:55, 7 December 2024 (UTC)[reply]
My initial concern with overfitting the criterion is identifying a link to "Census", which can occur as the initial word of a sentence. Initiating a correction in that instance would be problematic, and I don't know if there are others as well. VanIsaac, GHTV contrabout 02:37, 7 December 2024 (UTC)[reply]
Well, yes, that's why we review edits in AWB, isn't it? To catch false positives and write better patterns to avoid them recurring, no? On that particular one, I see a few sentences like "Census day was ...", which seems like a peculiar place to link it, so I'd unlink that and link census somewhere else. Dicklyon (talk) 03:10, 7 December 2024 (UTC)[reply]
Here's another easy batch worth fixing. Dicklyon (talk) 22:34, 8 December 2024 (UTC)[reply]
Here's a good search that finds about 7600 to fix. Just replace the search regex therein with $1 $2 census{{subst:lc:$3}}. It's US only, but could easily be modified for other country censuses. And if you're good with regexes you'll probably see ways to improve it. Dicklyon (talk) 23:14, 8 December 2024 (UTC)[reply]
And here's a search finding nearly 1000 different ones, to be replaced with $1 $2 census|$3census]]. Is there a better way to share patterns that doesn't rely on being able to run AWB or JWB? Dicklyon (talk) 23:31, 8 December 2024 (UTC)[reply]

Tag Wikipedia:Donated artwork and subpages as historical

[edit]

Hi, and hope you're doing well. Is it possible to tag all pages under Special:PrefixIndex/Wikipedia:Donated artwork/ and Wikipedia:Donated artwork itself with {{Historical}}? I don't see any major updates to Wikipedia:Donated artwork since its inception in 2015; Wikipedia talk:Donated artwork last had a discussion in 2021. Please ping if you have questions. Thank you. Rotideypoc41352 (talk · contribs) 16:21, 5 December 2024 (UTC)[reply]

Given the prefix index only shows 7 (8 including the parent page) pages, I’ll do this by hand, unless there are more pages that I’m not seeing.  Working  Done Geardona (talk to me?) 12:00, 6 December 2024 (UTC)[reply]

Lowercase "at-large"

[edit]

We have a bunch of capitalized "At-large" and even "At-Large" to fix. I tried to address one specific context via a template edit request (Template talk:Infobox officeholder#Edit request 2 December 2024), but the suggestion there was to fix it by AWB instead since there are only about 455 articles like that. Here's a diff that fixed one of those. And here's the more complete diff on that article. Anyone want to help? Dicklyon (talk) 17:32, 5 December 2024 (UTC)[reply]

 Doing... ~/Bunnypranav:<ping> 11:53, 6 December 2024 (UTC)[reply]
@Dicklyon  Done This shows ~338 edits done, rest were skipped by AWB as no changes were made (false positives?). Please have a look and let me know. ~/Bunnypranav:<ping> 14:36, 6 December 2024 (UTC)[reply]
Thanks! Here's a better search, which finds about 40 more that look like they could use the same fix. Dicklyon (talk) 16:14, 6 December 2024 (UTC)[reply]
Also, in ones like this you could fix the piped link at the same time. Dicklyon (talk) 17:01, 6 December 2024 (UTC)[reply]
@Dicklyon Will do the 40 more in a couple of hours. I didn't get what fix the piped link means. Could you explain? ~/Bunnypranav:<ping> 03:31, 7 December 2024 (UTC)[reply]
In [[New Hampshire's At-large congressional district|At-large]], the link to New Hampshire's At-large congressional district is piped to "At-large". The first part should avoid the miscapitalized redirect and link directly to New Hampshire's at-large congressional district instead, and be "piped" to the second part, which should be "at-large". Ends up like this with both case fixes: [[New Hampshire's at-large congressional district|at-large]]. Dicklyon (talk) 03:51, 7 December 2024 (UTC)[reply]
Till now I used a regex which checked after a pipe between [[ and ]]. I thought changing the page name might break some links. Should I lowercase all occurrences of at-large, even in page names? ~/Bunnypranav:<ping> 04:05, 7 December 2024 (UTC)[reply]
@Dicklyon if the above proposal is not a problem, I can do it now ~/Bunnypranav:<ping> 06:36, 7 December 2024 (UTC)[reply]
Yes, go ahead, since there was a multi-RM discussion that moved all those "At-large" districts to "at-large". If there are any remaining articles with capitalized "At-large" in their titles, you should be able to find them (and maybe fix them) with this search. I don't see much to worry about, other than At-large itself. Dicklyon (talk) 06:38, 7 December 2024 (UTC)[reply]
Noting that the replacements I am doing are only inside templates, so as to avoid starting of sentences, At-large and other possible errors. ~/Bunnypranav:<ping> 06:40, 7 December 2024 (UTC)[reply]
@Dicklyon  Done, 39 more edits ~/Bunnypranav:<ping> 08:13, 7 December 2024 (UTC)[reply]
Thanks! If you'd like to do more, with "At-large" in other contexts, take a look at this search, which is mostly in the title bar of infoboxes. Or these in links from templates such as Main and Further. Or these in a common text phrase. Dicklyon (talk) 16:42, 7 December 2024 (UTC)[reply]
Also these, but be careful as a few are in reference titles and such that should be left in title case. Dicklyon (talk) 16:44, 7 December 2024 (UTC)[reply]
And these, too. Dicklyon (talk) 17:00, 7 December 2024 (UTC)[reply]
I know that this splits the discussion, but if possible could you post this on my talk page. I can't do this for a day or two, but will definitely try my best. Thanks! ~/Bunnypranav:<ping> 17:32, 7 December 2024 (UTC)[reply]
Done. No rush. Dicklyon (talk) 19:44, 7 December 2024 (UTC)[reply]

@Bunnypranav: Thanks for doing those. Note that I've linked about 3 more searches above with similar over-capitalizations. I hope you'll do more. Dicklyon (talk) 16:07, 12 December 2024 (UTC)[reply]

@Dicklyon Sorry for the delay, unfortunately I do not have access to a computer for the next couple of days. I will hopefully do them by the end of this weekend. If anyone else is able to do this, then go ahead. ~/Bunnypranav:<ping> 10:01, 13 December 2024 (UTC)[reply]
Have a good break then! Thanks. Dicklyon (talk) 17:16, 13 December 2024 (UTC)[reply]

50K articles with over-capitalized "Province"

[edit]

This search shows over 50,000 articles with visible links to XXX Province of Iran, which should be XXX province. Anyone want to work on fixing? Dicklyon (talk) 06:13, 6 December 2024 (UTC)[reply]

That’s quite a few articles, and might be more suited to WP:BOTREQ, if they tell you to go back here or that a bot is not an option, ping me and I’ll take another look. Geardona (talk to me?) 12:22, 6 December 2024 (UTC)[reply]
Are you volunteering to run AWB as bot, or should I be recruiting another bot operator for this? Some semi-automated work on this to develop a good set of patterns would go a long way toward getting bot approval, I think. Dicklyon (talk) 16:18, 6 December 2024 (UTC)[reply]
Go to BOTREQ. Primefac (talk) 18:28, 6 December 2024 (UTC)[reply]
I know from before that they'll want to see more discussion before considering bot approval, so I started a thread at WT:WikiProject Iran#Fixing widespread over-capitalization of "Province" to make sure there's no project objection. Dicklyon (talk) 18:42, 6 December 2024 (UTC)[reply]
Opened request at Wikipedia:Bot requests#Province over-capitalization. Dicklyon (talk) 21:19, 7 December 2024 (UTC)[reply]
@Dicklyon, I would be happy to help with this task. If you don't find any other bot, please ping me on BOTREQ once the WikiProject discussion closes. – DreamRimmer (talk) 15:46, 8 December 2024 (UTC)[reply]
What if it gets no replies? When can we call it closed? Dicklyon (talk) 02:57, 10 December 2024 (UTC)[reply]

Would it be possible for someone to edit the prose of the articles in Category:Chungha songs to use "Chung Ha" instead of "Chungha"? The parent article was moved after it was established that the artist's name is "Chung Ha" (with the space), not "Chungha".

Right now I'm focusing on the articles directly related to the subject, but there probably a bunch of other locations that refer to her as "Chungha" instead of "Chung Ha" as well.

Thank you! RachelTensions (talk) 17:13, 6 December 2024 (UTC)[reply]

 Done EditsDreamRimmer (talk) 05:34, 7 December 2024 (UTC)[reply]
Thank you! RachelTensions (talk) 05:38, 7 December 2024 (UTC)[reply]
  • Pages using |Women's cricket=yes should be changed to |Women's=yes as the former is to be deprecated. (Pages are found in Category:Women's cricket task force articles)
  • Pages using |Bangladesh cricket=yes should be changed to |Asia=yes as the former task force has been merged into the latter one. (Pages are found in Category:Asia cricket task force articles)
  • Pages using |needs-photo=yes, |needs-image=yes, |photo-needed=yes and |image-requested=yes should be changed to |image-needed=yes as the former parameters are to be deprecated.
  • All the pages, templates, categories etc. under Category:International Cricket Council should be added to |ICC=yes.

Thanks in advance! Vestrian24Bio (TALK) 05:36, 11 December 2024 (UTC)[reply]

Searches [1] [2] [3], about 1500 pages including duplicates (plus 2200 pages in the category, but I have no idea how many of those actually need editing). Qwerfjkltalk 09:52, 11 December 2024 (UTC)[reply]
The one's in the category could be done, others I think should be done after a formal discussion. Vestrian24Bio (TALK) 10:02, 11 December 2024 (UTC)[reply]
There are more results with the value true. [4] [5]DreamRimmer (talk) 10:25, 11 December 2024 (UTC)[reply]

More "NFL Draft" over-capitalization fixes needed

[edit]

This search shows about 157 articles needing more post-move cleanup, particularly needing Draft changed to lowercase draft in the lead sentence, all alike except for punctuation order. Other fixes are likely needed in the same articles, like I did here (or variations thereon). I'm happy to help develop or review regex patterns, though I'm still a relative amateur at such things. Dicklyon (talk) 21:38, 11 December 2024 (UTC)[reply]

 Working ~/Bunnypranav:<ping> 13:04, 12 December 2024 (UTC)[reply]
@Dicklyon  Done 157 edits ~/Bunnypranav:<ping> 13:39, 12 December 2024 (UTC)[reply]
Many of those have no link to NFL draft. You can link it where you case-corrected it, like I did in the more complete example. Dicklyon (talk) 16:05, 12 December 2024 (UTC)[reply]
I didn't know that linking it was also requested, as it was not mentioned that clearly in the first post. Will probably do another run soon ~/Bunnypranav:<ping> 10:03, 13 December 2024 (UTC)[reply]