Wikipedia talk:AutoWikiBrowser

Start a new discussion

This is the discussion page for the AutoWikiBrowser (AWB) project. It is also the place to discuss using the AWB program (for help, questions, or general inquiries about AWB). Specific guidelines on where to make particular reports or requests are provided in the § Before you post section below. Before asking a question, please refer to the read the § Frequently asked questions below.

Before you post

edit
Do you want to ... Please use
Report a bug or request a feature in AWB? Check reported bugs on Phabricator before filing a new bug report. You do not need to create another account there; just log in with your global Wikimedia account. See this MediaWiki wiki page on how to report bugs and request features on Phabricator.
Report an incorrectly fixed typo? Wikipedia talk:AutoWikiBrowser/Typos
Request approval to use AWB? Wikipedia:Requests for permissions/AutoWikiBrowser
Ask a question about AWB or ask for help? This page

Frequently asked questions

edit

Discussion

edit

Win7 support

edit

Is Win7 still supported? As AWB 6.4.0.0 requires .NET 4.8.1, it's unable to run on Win7, because 4.8.1 doesn't support Win7 (last supported version should be 4.8). — Draceane talkcontribs. 20:42, 23 October 2025 (UTC)Reply

Reedy changed the .NET versions earlier this year under T385223. I think the bigger picture answer you will get is that Wikmedia/Wikipedia want to support/enforce the current/latest browser encryption standards so that means dropping older operating systems. The major browsers are doing something similar - Firefox support for Windows 7 has been extended to next year but won't continue for ever, so at some point you may have to use a newer Windows version (or other modern OS) for Wikipedia editing. However, I think the snapshot releases I build here only require .NET 4.8 so you should be able to use one of those in the meantime. Rjwilmsi 18:25, 7 November 2025 (UTC)Reply
@Rjwilmsi: Not that I have looked at the downloaded bits, but I think those four builds postdate the 4.8.1 update, which was in source rev 12730. The last archive on sourceforge that predates the change seems to have been of release 6.3.1.1, and that will be missing some useful updates. I've made a version of the latest update (rev 13010) using framework 4.8, and it seems to work OK on Windows 11. You can find it without plugins on my onedrive. As usual, unblock the exe before running. LMK if it works or doesn't; obviously this isn't a longterm solution. David Brooks (talk) 19:17, 7 November 2025 (UTC)Reply
Yes, but I have custom AWB solution/projects which target .NET 4.8 and the snapshots I've uploaded are from that. For me they do run under wine with .NET 4.6.2 installed. Rjwilmsi 19:47, 7 November 2025 (UTC)Reply
Ah, thanks for the clarification. David Brooks (talk) 20:55, 7 November 2025 (UTC)Reply

Maintainers, should the official build be reverted to using 4.8, if there are still enough Win7 users? As far as I can tell, the main advantage of 4.8.1 is native ARM64 support for people like me, and some accessibility improvements. The current build tree creates x86 binaries which run under emulation on ARM64 boxes (more slowly and using much more memory than native, but it works). So downgrading to 4.8 wouldn't make a difference in that respect; I have a private build with native support but I'm not suggesting that be shoehorned into the official build. David Brooks (talk) 04:05, 10 November 2025 (UTC)Reply

+1 for Windows 7 support. I'm still using Windows 7 and have no plans to "upgrade" to anything later (other than ultimately Linux), and I use AWB quite a lot. Mitch Ames (talk) 03:20, 22 November 2025 (UTC)Reply

Request for AWB access – Will229

edit

Hi! I would like to request access to AutoWikiBrowser (AWB) for my account User:Will229. I plan to use it for small helpful edits, such as fixing typos, formatting, and adding categories. I understand and will follow all Wikipedia policies regarding the use of AWB. Thanks! Will229 (talk) 15:20, 10 November 2025 (UTC)Reply

Will229 Requests go to WP:AWB/R.Naraht (talk) 16:15, 10 November 2025 (UTC)Reply

Anybody know about WikiProject tagging

edit

There was a request about tagging a page with a specific WikiProject (still checking for authorization before going through with it). Does anyone know of a script that can be used in an AutoWikiBrowser module to make it happen? Can't just prepend the Wikitext since it has to go at the bottom of the header materials and be added inside any WikiProject banner shells if they are present. Any ideas? aaronneallucas (talk) 22:46, 12 December 2025 (UTC)Reply

How many pages need to be added to the WikiProject? If it's not many, AWB is overkill. If it's just several pages, it's best to go with WP:Rater. Stefen 𝕋ower HuddleHandiwerk 23:19, 12 December 2025 (UTC)Reply
@StefenTower Per the user's request, it would be well over 1,000 pages that would have to be processed and potentially tagged. I'd use rater if it was only a few, but I definitely can't do it on that many. I'd think this would be a common enough need to have a script for it in AWB, but I'm totally lost in finding one. aaronneallucas (talk) 01:40, 13 December 2025 (UTC)Reply
I've been using AWB for a long time, and I know of no script for this per se. This is a Find/Replace matter where regular expressions will need to be used to insert a WikiProject banner template into the banner shell, assuming the pages have already been added to other projects. I have done this kind of job several times, but how it's done depends on what the WikiProject is (like whether it's a top-level project or a subproject or a taskforce). If you can tell me what WikiProject you're inserting, I should be able to provide specific guidance. Stefen 𝕋ower HuddleHandiwerk 01:52, 13 December 2025 (UTC)Reply
@StefenTower: There is a AWB plugin for this, Kingbotk plugin. Ganeshk (talk) 02:17, 13 December 2025 (UTC)Reply
Let me revise then. There's no script that can be trusted for this kind of work. Major changes to how WikiProject banners are placed have occurred since that plugin was relevant. Find/Replace is where it's at. Stefen 𝕋ower HuddleHandiwerk 02:43, 13 December 2025 (UTC)Reply
@StefenTower: One other option is to a create a custom module for it, but I get your point; the current solutions are rudimentary. I suggest asking at Version 1.0 Editorial Team or Content assessment; there may be solutions that I am unaware of. Ganeshk (talk) 17:02, 13 December 2025 (UTC)Reply
We already have a solution I mentioned above that works, as I have regularly used it. It's called Find/Replace with regular expressions. I was waiting to hear back from Aplucas0703 on the specific WikiProject they are adding so I can suggest the find and the replace. And please stop pinging me. Stefen 𝕋ower HuddleHandiwerk 18:28, 13 December 2025 (UTC)Reply
@StefenTower Should be for WikiProject Books, no sub-project or task force was requested by the user. aaronneallucas (talk) 19:16, 13 December 2025 (UTC)Reply

Find & Replace

edit

Aplucas0703: Here is a find/replace approach that checks for any form of the banner shell, and adds WikiProject Books as the first project entry within it:

  • For good measure, set a Skip (on the Skip tab) to skip pages that contain "{{WikiProject Books".
  • Use "Find and replace/Advanced settings" for most convenience as the Find part is long.
  • Add a new "Find and replace" rule and check these options: Regular expression, Case sensitive, Singleline
  • Set the Find to:
    • \{\{(?:Article assessment|Bannershell|Coopshell|Multiple wikiprojects|Project banner holder|Project shell|Scope shell|WP Banner Shell|WP Bannershell|WP banner shell|WPB|WPBS|WPBannerShell|WikiProject Banner Shell|WikiProject BannerShell|WikiProject Banners|WikiProject Banners Shell|WikiProject Shell|WikiProject banner|WikiProject banner shell|WikiProject bannershell|WikiProject cooperation shell|WikiProject shell|WikiProjectBanner Shell|WikiProjectBannerShell|WikiProjectBanners|Wikiproject banner holder|Wikiproject banner shell|WikiprojectBannerShell|Wikiprojectbanners|Wikiprojectbannershell|Wpb|Wpbannershell|Wpbs)\s*\|(.*?)\{\{WikiProject
  • Set the "Replace with:" to:
    • {{WikiProject banner shell|$1{{WikiProject Books}}\n{{WikiProject

I ran a test of this on random article talk pages and it appeared to work without any flaw. Let me know if you have any questions. Stefen 𝕋ower HuddleHandiwerk 20:35, 13 December 2025 (UTC)Reply

Note that if the currently first project entry (or entries) isn't using a template that begins with "WikiProject" (the standard), it should skip over that (those) and place the WikiProject Books template in that spot. If there's no current project entries starting with "WikiProject", this won't work, and therefore those will have to be manually inserted, or inserted with Rater. Stefen 𝕋ower HuddleHandiwerk 20:49, 13 December 2025 (UTC)Reply
@StefenTower I'll keep that in mind, and thanks for the advice and help! aaronneallucas (talk) 22:12, 13 December 2025 (UTC)Reply
Uh... maybe I'm being daft, (correct) but I seem to recall AWB genfixes moves banners into WPBS automatically, so just prepending {{WikiProject Books}} and having it do genfixes afterwards will avoid the need for the rather long regex listed there. Primefac (talk) 15:16, 14 December 2025 (UTC)Reply
I just tested that out, and I can't make that work within a run. Maybe it worked that way in the past but I don't know. Do you mean doing two separate runs, one with the prepend and a second one with genfixes? Stefen 𝕋ower HuddleHandiwerk 17:40, 14 December 2025 (UTC)Reply
I guess I am being daft. I could have sworn I've done banner additions without all the fuss of a regex set. Primefac (talk) 22:24, 14 December 2025 (UTC)Reply
Believe me, I wish I was wrong on this. The functionality you describe would be fantastic to have. If anyone reading knows anything akin to a shortcut like that, it would be great to know about it. Stefen 𝕋ower HuddleHandiwerk 08:25, 15 December 2025 (UTC)Reply

Why does unicodification not count as a genfix?

edit

I got asked why this edit was made, which then led to me finding this bug report where it was stated "Unicodify whole Page" is not part of general fixes. It has it's own box. It has made me wonder why it should be treated any differently; unicodifying a page is a good thing, but it should be done in the background and skipped if it's the only edit. I'd rather not turn off the change just for the few random pages that have only that issue. Primefac (talk) 15:34, 14 December 2025 (UTC)Reply