Jump to content

Wikipedia:AutoWikiBrowser/Tasks

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AndreJustAndre (talk | contribs) at 17:20, 11 September 2022 (Move my talk page archives: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

See also Wikipedia:WikiProject Check Wikipedia.

Fixing mis-specified span tag color settings

I don't know if this is a bot request or an AWB request, but I thought I would start here. There are over 1,000 pages that use span tags with hex colors missing the # symbol. They look like <span style="color:0099FF">, but they should look like <span style="color:#0099FF"> (note the # symbol). Some of these are due to bad edits by a regex I used to employ, but there are many others.

Is there anyone here willing to sweep through these articles and add the missing # symbols? It will result in editors' color preferences for text being displayed as intended. I have been able to fix these problems semi-automatically with code like: str = str.replace(/(\<span style\=\"color:)([a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9])/gi, '$1\#$2'); but you may have a better regex. As far as I know, there are no valid color names expressed as words that contain six a–f characters in a row, so the above regex should be safe. – Jonesey95 (talk) 16:15, 20 July 2022 (UTC)[reply]

Of the search results, only two are in the article space. Some of the other results are actually part of a user signature, which I guess we are not going to edit (Talk:Internet_Watch_Foundation_and_Wikipedia signature of user Celarnor). The two articles can be edited manually. For the others, I am not sure. Considering they are not in the article space, should we leave them as they are? Vpab15 (talk) 16:43, 20 July 2022 (UTC)[reply]
Some of them, possibly the majority, are the result of invalid conversion of font tags (without the #, which works) to span tags (which require the # to render a color) by myself and other editors cleaning up Linter errors. In those cases, it was the original intention of the editors to display the color, so fixing the span tag is the right thing to do. In cases where the span tags has always been like this, it was clearly the editor's intent to display a color, even if it didn't work right (or maybe it used to work?). I can go through and fix them myself if necessary, but I do not have access to AWB and cannot get it due to my OS, so I thought I would ask here first. – Jonesey95 (talk) 16:59, 20 July 2022 (UTC)[reply]
You are correct, there are no valid colors. I checked. I think it's supposed to rain in the morning, so I'll take a stab, I do agree with your point that it was how it was meant to be shown. Also, you mention OS. As a mac user, may I interest you in WP:JWB instead of AWB? Happy Editing--IAmChaos 02:48, 21 July 2022 (UTC)[reply]
Thanks. I've had JWB on my to-take-a-look-at list for a while. I use AutoEd, which is good enough for most things, but it's not great for mass small edits because its workflow is a bit clunky. – Jonesey95 (talk) 04:26, 21 July 2022 (UTC)[reply]
@Jonesey95, alternatively you could try de:Benutzer:Schnark/js/bandersnatch, though it does require basic knowledge of javascript. ― Qwerfjkltalk 08:10, 21 July 2022 (UTC)[reply]
Based on your comment above I can probably assume you know JavaScript. ― Qwerfjkltalk 20:52, 21 July 2022 (UTC)[reply]
I got namespaces 0 and 1 loaded and did A lot were signatures (bc it was talkspace) User:Penyulap User:Blanchardb and User:Hansen Sebastian came up a lot I noticed, which may have been the conversions from <font> you mentioned earlier, as they were mostly older comments. I loaded just the first two namespaces due to loading times, but my final tally was Pages saved: 167; Null-edits: 2; Pages skipped: 24; Other: 0; . 26 that JWB didnt edit. I'll go back and look at them after I do the other namespaces. If anyone wants to take over the task before I get to it tonight or tomorrow - the regex I used is in a subpage of my userspace desk. Happy Editing--IAmChaos 19:13, 21 July 2022 (UTC)[reply]
ns 2&6 8 12 14 100 118 done. Saved 67 pages JWB didn't parse 13 with an edit. Most of those namespaces didnt even have any pages matching your search. I will go back and do talkspaces(including project and template. But I realized that the way I was doing it was only solving the first instance per page, so does anyone know how I can fix that? Happy Editing--IAmChaos 04:21, 22 July 2022 (UTC)[reply]
@IAmChaos, add the RegEx flag 'g' for global. According to the search there are still ~1167 pages left, so I'll try to do them some time today. ― Qwerfjkltalk 06:35, 22 July 2022 (UTC)[reply]
Just saying thank you for raising old AfDs. Seriously, not sarcastic as some raise with clean up edits. Super helpful to then un-watch list those that were before temporary watchlisting. And good luck with the actual purpose as well of course Star Mississippi 02:50, 22 July 2022 (UTC)[reply]
Bump to prevent archiving. I did some of them but still needs more work. 0xDeadbeef 10:39, 18 August 2022 (UTC)[reply]
Bump. 0xDeadbeef 06:02, 10 September 2022 (UTC)[reply]

This slang term should not be used in section titles; please replace it by "References". 1234qwer1234qwer4 15:46, 15 August 2022 (UTC)[reply]

@1234qwer1234qwer4,  Done. ― Qwerfjkltalk 19:38, 15 August 2022 (UTC)[reply]

236 pages in a bulk RfD

I just opened Wikipedia:Redirects_for_discussion/Log/2022_August_20#3000s, which covers 236 decade redirects to Timeline of the far future following the deletion of 6100s at RfD. All of these should be RfD tagged. It is not necessary for the redirects to point to the section, since every RfD nomination includes an anchor from the name of the redirect. –LaundryPizza03 (d) 21:39, 20 August 2022 (UTC)[reply]

 Done — JJMC89(T·C) 21:55, 20 August 2022 (UTC)[reply]

Brookfield Properties

I was encouraged to post here by User:Epicgenius. Brookfield Properties (my employer) was known as "Brookfield Office Properties" from 2011-2017, and as a result there are still many articles that refer to the company that way even though the company is now known only as "Brookfield Properties." Epicgenius showed me these search results showing instances of "Brookfield Office Properties" in articles, all of which should be changed to "Brookfield Properties" except for historical references and appearances of the term within references.

Similarly, GGP Inc. was acquired by Brookfield in 2018, and was then known as "Brookfield Properties Retail Group" for a period of time after that. But now the retail group no longer exists as its own company, but only as a group within Brookfield Properties. So all instances of "Brookfield Properties Retail Group" currently appearing in articles (as shown in these search results) should be changed to "Brookfield Properties," except for historical references and appearances within references.

Finally, the same goes for another old name, "Brookfield Properties Corporation" (search results here), though there are only a small handful of examples of this case that are not historical.

I would be happy to assist whoever steps up here in identifying which instances are historical and thus should not be changed (in most cases it's obvious from context). Thank you! Claudiailagan (talk) 11:44, 24 August 2022 (UTC)[reply]

73 Redirects in bulk RfD

I just opened a RfD Wikipedia:Redirects_for_discussion/Log/2022_September_1#Bus_garages_in_London, covering 73 redirects. I have tagged the first one but the remainder need tagging. Could someone please save me by using AWB to tag these all? Many thanks. Sirfurboy🏄 (talk) 16:12, 1 September 2022 (UTC)[reply]

@Sirfurboy,  Done. — Qwerfjkltalk 16:38, 1 September 2022 (UTC)[reply]

Move my talk page archives

I recently adopted ClueBot for old manual talk page archives and I think the reason why the bot isn't archiving correctly, is because my talk page archives are of the form User:Andrevan/Archive54 but ClueBot wants them to be more like User talk:Andrevan/Archives/1. Could someone move all my User:Andrevan talk archive pages to User talk:Andrevan with the same number so I can get ClueBot to archive in a way consistent with my old manual archives? Andre🚐 05:54, 10 September 2022 (UTC)[reply]

Might be worth posting at User talk:ClueBot III/ArchiveThis or Help talk:Archiving a talk page or WP:VPT to see if someone can just fix your User:ClueBot III/ArchiveThis template. In theory |archiveprefix=User:Andrevan/Archive should cause the desired behavior, so there must be some other little thing somewhere throwing it off. –Novem Linguae (talk) 06:36, 10 September 2022 (UTC)[reply]
OK, I'll try that. I posted to User talk:ClueBot Commons previously. Andre🚐 06:41, 10 September 2022 (UTC)[reply]
I looked into doing this in AWB tonight just in case. I created a list of pages to move at User:Novem_Linguae/sandbox. Looks like the AWB person has to be an admin to use AWB's "move" button though, per Wikipedia:AutoWikiBrowser/User manual#Start. –Novem Linguae (talk) 08:53, 11 September 2022 (UTC)[reply]
I can help with the page moves using User:Ahecht/Scripts/massmove as I have pagemover right. Please let me know if you would like me to do that. CX Zoom[he/him] (let's talk • {CX}) 10:04, 11 September 2022 (UTC)[reply]
@CX Zoom, you beat me to it. — Qwerfjkltalk 11:33, 11 September 2022 (UTC)[reply]
Yes please, if you can, that would be helpful Andre🚐 16:25, 11 September 2022 (UTC)[reply]
Sure thing. CX Zoom[he/him] (let's talk • {CX}) 17:15, 11 September 2022 (UTC)[reply]
@Andrevan: Should I leave a redirect or not? CX Zoom[he/him] (let's talk • {CX}) 17:19, 11 September 2022 (UTC)[reply]
Yes please. Andre🚐 17:20, 11 September 2022 (UTC)[reply]