Wikipedia talk:AutoWikiBrowser

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is the discussion page for the AWB project. It is also the place to discuss using the AWB program itself (if you need help, or have a question about AWB, etc.). Where to make specific types of reports or requests is explained in the Before you post section below. Before asking questions, please 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 tasks before filing a new task. You do not need to create another account there; just log in with your normal Wikimedia account. See this MediaWiki wiki page on how to report bugs and request features on Phabricator.
Report a bug details

Try to report bugs in the current version of the software. Update to the most recent version and check to make sure your bug has not been reported already on this page. See "How to Report Bugs Effectively" for advice on how to write bug reports.

Before posting anything related to non-Wikimedia Foundation wikis, verify that the site is running a recent version of MediaWiki with enabled Bot API. Older versions of MediaWiki or without the Bot API are not supported. Be sure to mention the exact URL of your wiki.

Request a feature details

Please use the feature request button to add new feature requests. This format allows the developers to keep track of feature requests. Take some time to search the archives, both on-wiki and on Phabricator to check whether a similar request was previously discussed.

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]

Frequently asked questions
  • When I start it up I get one of the following errors:
    "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.", or
    "To run this application, you must first install one of the following versions of the .NET Framework..."
    This error means your computer does not have the .NET framework version 2 installed properly. You can choose from various versions for download here, or you can run Windows Update and select version 2 of the .Net framework from the "Optional Updates" section, if you want the choice made for you.
  • Does AWB run on Linux or Mac?
  • Does AWB work on other projects and languages?
    Many Wikimedia projects and languages are supported, see the "User and project preferences" option in the general menu. Other languages will be added on request, though at the moment the interface is always in English. You are also able to use AWB with third-party wikis: Options > Preferences > Site, you can change the wiki there. The wiki must support the Bot API required by AWB. This means that it should have latest HEAD version of MediaWiki or something close to that. The wmf-deployment branch is also recommended, as this is what is currently live on WMF sites.
  • Under Windows Vista (and newer), AWB is using wrong font size, which results in clipped text and lost buttons and options, (see example here). How to fix it?
    • Solution #1: Go to "Control Panel\All Control Panel Items\Display" and switch resizing of the fonts to 100%.
    • Solution #2: Right click on AutoWikiBrowser.exe --> Properties -> Compatibility (tab) --> enable the "Disable display scaling on high DPI settings" option or for Windows 10, if available, select System (Enhanced).
  • AWB puts stubs after categories, though categories are always rendered the last by MediaWiki?
    According to WP:STUB#Categorizing stubs, by convention they are placed at the end of the article, after the External links section, any navigation templates, and the category tags, so that the stub category will appear last. If your wiki uses another order, please let us know here.
  • I don't like or use Internet Explorer; please use Firefox instead.
    AWB does not use Internet Explorer per se. It does, however, use the same web browser control (MSHTML) as Internet Explorer; the equivalent Firefox component does not provide the needed functionality.
  • How do I open the page in another browser if I can't use the one in AWB?
    Right click on the edit box in the bottom right side of your screen. Select "Open page in browser".
  • How do I edit a page that doesn't exist?
    Uncheck "Ignore non existing pages" in the "Skip articles" box.
  • How do I skip certain articles?
    Use the "Skip if contains" and "Skip if doesn't contain" on the "Skip" tab
  • Can't you leave up a "stable" version, so I don't have to download new versions?
    It is important to keep people up to date with the latest versions, because their use of the software doesn't just affect them, but the whole of Wikipedia. As any bugs that remain will be trivial, hopefully releases won't be too frequent.
  • How can I stop AWB clicking when it changes pages?
    This is a Windows sound theme setting. This page explains how to turn off the clicking sound.
    Alternatively, delete the following key from the Windows registry:
  • AWB randomly crashes upon page load on my system, and I always use a browser other than Internet Explorer when using Wikipedia.
    You may have installed custom scripts incompatible with IE. Wrap the contents of your monobook.js into conditional:
               //Detect IE5.5+
               if (navigator.appVersion.indexOf("MSIE")==-1)
                   // Previous contents go here
  • I get Just In Time Debugger Messages when loading AWB/loading pages.
    In Internet Explorer, go to Tools → Options → Advanced. Make sure 'Disable Script Debugging (Internet Explorer)' and 'Disable Script Debugging (Other)' Are both checked. Press apply and close.
  • Why does AWB run very, very slowly if I try to make changes in the edit window on larger pages, especially pages with long lists or tables?
    If running on Windows, exit the Speech Recognition software that is built into some versions of Windows; don't just turn it 'Off', you must 'Exit' the software if you have started up Speech Recognition.
  • When I do a clean install of AutoWikiBrowser the application seems to find old setting data somewhere. I'd like to do a really clean install. Any ideas?
    Clean up your registry and remove the folder "C:\Documents and Settings\user name\Local Settings\Application Data\AutoWikiBrowser" (Windows XP) or "C:\Users\user name\AppData\Local\AutoWikiBrowser\" (Windows 7). Note that the application data folder may be hidden.
  • AWB prompts that there is a newer version but won't update
    Check the version number of your AWBUpdater.exe. The current version is If you have an older version, you have to download the latest AWB version and make a clean install.
  • Which .NET Framework version do I have?
    You can find your .NET Framework version in Help → About box.
  • Where are the default settings stored?
    • Windows XP: C:\Documents and Settings\[username]\Local Settings\Application Data\AutoWikiBrowser
    • Windows Vista onwards: C:\Users\[username]\AppData\Local\AutoWikiBrowser\Default.xml
  • I cannot copy text from the diff window using the Control+C keyboard shortcut.
    You must have Microsoft.mshtml.dll available for AWB to use for this functionality to work. You can try downloading the file (there are a number of third-party websites offering DLL file downloads) and putting it in the same folder as AutoWikiBrowser.exe. This is reported not to work for all users, presumably due to .NET Framework problems.
  • Is there any way to set AWB to not use https? (GFW blocks 443 port)
    In preferences, set project to "custom". Set the left box to http. In the webpage box, type (English Wikipedia) or (Chinese Wikipedia). Note that leaving off the /w/ will result in a "root element missing" error.
  • How do I login to AWB with accounts enabled with two-factor authentication?
    You should use a bot password. Despite the name, they aren't just for bots. See Wikipedia:Using AWB with 2FA.


How does "Wiki search" differ from the search bar on Wikipedia?[edit]

The manual seems to suggest that the "Wiki search" is similar to searching on Wikipedia. I think I am overlooking something though because I get very different results. For example, I can search for insource:"{{refbegin|3}}{{legend" here and get 96 pages to fix:

If I run the same input through AWB, it gives me well over a thousand results. I can see that I'm typing something wrong, but I don't know what? Rjjiii(talk) 07:20, 12 September 2023 (UTC)Reply[reply]

Personal opinion. I never use AWB search, because it can return weird results. For example, I get more than once some results for particular search in all namespaces, and much more results if constraining the same search for the articles only. IKhitron (talk) 19:58, 13 September 2023 (UTC)Reply[reply]
A quick trace suggests that AWB is submitting two different search queries, with the vertical bar inappropriately treated as a separator (which also results in unbalanced quote marks). The second therefore searches for 3}}{{legend" and returns every page with both the number 3 and the word legend, the braces being treated as grayspace. I don't know why the first part returns no hits. I suspect insource:/\{\{refbegin\|3}}\{\{legend/ would work, although you seem to have fixed the 96 by now. David Brooks (talk) 02:44, 16 September 2023 (UTC)Reply[reply]
Many thanks to both of you. I discovered that JWB took the search query at face value and was able to resolve my issue that way. Rjjiii(talk) 03:04, 16 September 2023 (UTC)Reply[reply]
BTW, even if this is fixed, note that grayspace handling in wiki search means that your search string could just as well been insource:"#refbegin#3#legend". Use the (slow) RE version for precision. David Brooks (talk) 18:58, 17 September 2023 (UTC)Reply[reply]

False positives.txt not appearing[edit]

Hello, I was unsure about reporting this as a bug because that felt a little presumptuous. I just tried clicking on the "False" button, but the False positives.txt file was never created (yes, I'm checking it in the same directory where AutoWikiBrowser.exe is located). I even tried creating it "manually" so see if AWB would update it, to no avail. Victor Lopes Fala!C 20:06, 14 September 2023 (UTC)Reply[reply]

@Victor Lopes: I've tried this and then asked Windows to search for the file. It's at C:\Users\<myname>\AppData\Local\AutoWikiBrowser\False positives.txt -- John of Reading (talk) 20:37, 14 September 2023 (UTC)Reply[reply]
Indeed! It was there all along. I wonder why. Thanks a lot! Victor Lopes Fala!C 00:47, 15 September 2023 (UTC)Reply[reply]

Using the tool[edit]


I recently found out I no longer use AutoWikiBrowser when 2FA is active by receiving an error, "Failed". When I turned it off, there was no problem. But, to use AWB, must I deactivate the 2FA? Or there is something I am missing. --Victor Trevor (talk) 12:17, 18 September 2023 (UTC)Reply[reply]

@Victor Trevor: The instructions you need are at Wikipedia:Using AWB with 2FA. -- John of Reading (talk) 13:27, 18 September 2023 (UTC)Reply[reply]

Start button does not work[edit]

A screenshot to illustrate my problem

Maybe I've been reading the instructions wrong, but after I create a list, configured all the options and click start, nothing happens except for the text on the bottom left corner which says "Restarting in n" (n is a changing number). Is there anything wrong with what I'm doing? 141Pr {contribs} 07:29, 23 September 2023 (UTC)Reply[reply]

Praseodymium-141, it will typically loop on restart if you don't have an internet connection. Assuming you do, can you, via the 'file' tab, logout and back in successfully? Neils51 (talk) 12:12, 23 September 2023 (UTC)Reply[reply]
I can log back in successfully, and I can access the internet, which means that I have a working internet connection. It still does this though. Could it be to do with VirtualBox? (I'm working from my Mac, I should've said that earlier) I have put a screenshot here. 141Pr {contribs} 13:13, 23 September 2023 (UTC)Reply[reply]
Might need comment from someone with a MAC who has this combination working. I'll just throw in; .NET, firewall, port forwarding... for fun. Neils51 (talk) 10:11, 24 September 2023 (UTC)Reply[reply]
Just a shot in the dark, but this is reminiscent of late 2019 when the wikipedia servers started requiring TLS 1.2 (or better) for API connections, and that needed an obscure setting (at least in my software) to change the default security protocol setting in .NET 4.5. Is it possible the Mac network stack is still ending up using a pre-TLS 1.2 protocol? (forgive the flagrant hand-waving.) Can you use a debugging proxy and inspect the first AWB connection to the servers? David Brooks (talk) 00:37, 25 September 2023 (UTC)Reply[reply]
What is the MacOS version? Neils51 (talk) 23:41, 25 September 2023 (UTC)Reply[reply]
MacOS Ventura I think... I'm not near my mac right now. 141Pr {contribs} 07:25, 26 September 2023 (UTC)Reply[reply]
There seem to be issues with certain permutations. Need version info. MacOS, 13.x?, VirtualBox, 7.xx?, Windows? Familiar with Wireshark? Neils51 (talk) 11:27, 29 September 2023 (UTC)Reply[reply]


I think this is a fantastic tool for doing repetitive work across hundreds to thousands of articles. My most recent use is in the area of re-stubbing articles so that specific stub categories can be reduced in size, replaced by "manageable" sized categories. Without this tool, many mass-action stub-related and category-related edits would be nigh on impossible. There should be some recognition of this tool for its utility. Thank you. --User:Ceyockey (talk to me) 01:08, 27 September 2023 (UTC)Reply[reply]

@Ceyockey: Agreed! See this for one recognition received by AWB. GoingBatty (talk) 01:28, 27 September 2023 (UTC)Reply[reply]