Open main menu

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 postEdit

Do you want to ... Please use
Report a bug in AWB? Wikipedia talk:AutoWikiBrowser/Bugs (but see instructions for Phabricator there)
Report an incorrectly fixed typo? Wikipedia talk:AutoWikiBrowser/Typos
Request a feature for a future version of AWB? Wikipedia talk:AutoWikiBrowser/Feature requests
Request approval to use AWB? Wikipedia:Requests for permissions/AutoWikiBrowser
Ask a question about AWB or ask for help? This page

Frequently asked questionsEdit

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/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:
    HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.Current
  • 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 2.0.2.1. 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 en.wikipedia.org/w/ (English Wikipedia) or zh.wikipedia.org/w/ (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.

DiscussionEdit

Old/multingual wikisourceEdit

How to use AWB on http://wikisource.org , the old/multilingual/incubator wikisource? There is no language prefix and apparently it's not possible not to select a language nor to use the custom mode (error 403). If there is no solution, here is an idea : use mul as language prefix (which is done in some other cases).

Cdlt, VIGNERON * discut. 14:33, 1 August 2017 (UTC)

User:VIGNERON. Yah you can do it by just choise the Project "custom" and select "http://" then simply give url "wikisource.org/w/".-- Jay ❯❯❯ Talk 07:15, 12 November 2017 (UTC)
@Jayprakash12345: you could try and tell me if it really works? As I said before, I've got a HTTP 403 error for some reason :/ Cdlt, VIGNERON * discut. 17:27, 19 December 2017 (UTC)
User:VIGNERON, Sorry Please use "https://" instead of "http://". And Login is working fine for me. [1] [2]-- Jay ❯❯❯ Talk 17:38, 19 December 2017 (UTC)
Oh, so obvious I missed it, thank you a lot! Cdlt, VIGNERON * discut. 19:40, 19 December 2017 (UTC)

logging to a named file on a local driveEdit

is that possible with a c++ module?

If a page is skipped for any reason, for example, is it possible for the c++ module to automatically log that event to a file on my local drive much like it logs that information to the appropriate section of the Logs tab.

Trappist the monk (talk) 00:02, 7 September 2019 (UTC)

This would be very nice & useful, especially if it includes the skip edit summary.   ~ Tom.Reding (talkdgaf)  13:39, 17 September 2019 (UTC)

Startup & login failuresEdit

As of about 15 hours ago, I started getting this error message on AWB startup, using 2 separate machines from 2 different locations where I had internet access, both running Windows 7 64-bit:

An error occured [sic] while connecting to the server or loading project information from it. Please make sure that your internet connection works and such combination of project/language exist. Enter the URL in the format "en.wikipedia.org/w/" (including path where index.php and api.php reside).
Error description: StartIndex cannot be less than zero.
Parameter name: startIndex

Then another error when trying to login with 2 accounts (this & my bot account, both are valid on WP:AWB/CP):

Check page failed to load.

Check your Internet is working and that the Wiki is online.

I suspect that the 2nd error is a result of the 1st, since there appears to be some configuration error that can't find the English wiki. Can anyone identify/fix the problem?   ~ Tom.Reding (talkdgaf)  13:20, 17 September 2019 (UTC)

This is probably WP:VPT#AutoWikiBrowser fails to connect. --Izno (talk) 13:39, 17 September 2019 (UTC)
@Tom.Reding: @Izno: This is because https://noc.wikimedia.org/conf/InitialiseSettings.php.txt changed yesterday. I understand the file is going to be replaced, but it hasn't happened yet. If you have access to source, in WikiFunctions!SiteInfo.cs!LoadCategoryCollation(), replace that filename with VariantSettings.php.txt. Or I think you can get away with stubbing out the function completely. David Brooks (talk) 14:06, 17 September 2019 (UTC) ETA: Oh, sorry for the duplication - I see this is mentioned in the phab task linked to in the VPT comment. David Brooks (talk) 14:19, 17 September 2019 (UTC)
6.1.0.0 has been released... Reedy (talk) 18:31, 17 September 2019 (UTC)
  @Reedy: I've upgraded to 6.1.0.0 and got this "Check page failed to load" message. -- John of Reading (talk) 18:41, 17 September 2019 (UTC)
Reedy, John of Reading so at this point upgrading to 6.1.0.0 doesn't take care of the issue?Naraht (talk) 19:43, 17 September 2019 (UTC)
Same here - after upgrading to v6.1.0.0, I don't receive the 1st error above at startup, but I still receive the 2nd error when trying to login with any account.   ~ Tom.Reding (talkdgaf)  19:48, 17 September 2019 (UTC)
Yes, it fixes the issue reported. The issue now is a different one, due to some WIP code I didn't finish. Reedy (talk) 20:08, 17 September 2019 (UTC)
Try [3] Reedy (talk) 20:42, 17 September 2019 (UTC)
@Reedy: success with v6.1.0.1!   ~ Tom.Reding (talkdgaf)  20:47, 17 September 2019 (UTC)
@Reedy: And thank you for cutting out the download of a 140KB file! David Brooks (talk) 22:01, 17 September 2019 (UTC)
Reedy, many many thanks for the prompt fix. --BrownHairedGirl (talk) • (contribs) 22:53, 17 September 2019 (UTC)
Glad to see this fixed. --Jarekt (talk) 12:17, 20 September 2019 (UTC)

Are you using 5.10.1.0?Edit

Just wondering if anyone is still using the 5.10 versions...? I'm trying to work out whether it's worth the effort of backporting some of the changes to the 6.X branch to 5.10, for those who for whatever reason can't use .NET 4.5... Reedy (talk) 23:12, 17 September 2019 (UTC)

  • AWB updater on version 6.0.0.1 "updates" AWB to 5.10.1 version, so I thought 6.0.0.1 is some sort of beta. MBH (talk) 02:55, 18 September 2019 (UTC)
    • It kinda is, but based on the lack of bug reports for anything specifically relating to the changes made in this from 5.10 to 6.0, I'm probably going to bump some of the version numbers around and encourage people to upgrade. Do you still experience the same behaviour with the updater that was both separately released and included in 6.1.0.0 and 6.1.0.1? Reedy (talk) 06:25, 18 September 2019 (UTC)
      • No, 6.1.0.0 updater updates to 6.1.0.1. MBH (talk) 07:11, 19 September 2019 (UTC)
  • I may be mistaken, but I seem to recall that the link on the main page led to a 5.10.x package as of yesterday morning. In any case, isn't there a runtime version block now, making the answer to your first question necessarily "no"? That said, surely a more apt question is: does anyone not have .net fx 4.5 installed? David Brooks (talk) 12:55, 18 September 2019 (UTC)
Oh, I probably am mistaken, It's 6.0.x that is blocked, not 5.10.x. Apologies. David Brooks (talk) 13:23, 18 September 2019 (UTC)
Thank you so much for the tip that .NET 4.5 is compatible with AWB! I've been trying for a couple of years to get AWB working with Ubuntu 16.04 and Wine, using .NET 2.0 (suggested in the FAQ above) or 3.5 (from WP:AWB#Running on Linux or Mac) but never got it to start. I'd tried 4.0 and 4.5, which didn't install, but this discussion provided the clue that I needed to persevere by upgrading wine and winetricks manually and making a few other tweaks. Thanks again for all your hard work. Certes (talk) 16:36, 18 September 2019 (UTC)
It's been around for a year, see the changelog ;). More seriously, it might be useful to get that documented and potentially reproducible. Reedy (talk) 16:43, 18 September 2019 (UTC)
I've written a few notes at User:Certes/AWB on Ubuntu. I've been down a lot of dead ends, which I didn't document fully, so I'd be interested to see whether anyone else succeeds with that approach. Once it's reproducible, it could go somewhere more visible. I've asked for help in a few places and got no response, and I remember seeing an AWB statistics summary showing all but six out of thousands of edits being from Windows, so I may be the only editor attempting to use AWB on Linux. Certes (talk) 17:09, 18 September 2019 (UTC)
Stats are possibly broken. I've not given them any love in years.. You're definitely not the first to try. See Wikipedia:AutoWikiBrowser/Mono_and_Wine for more Reedy (talk) 20:17, 18 September 2019 (UTC)
I'm still using 5.10.1.0. Is there any demonstrable advantage to using version 6? WP:AWB/H tells me that it has:
  • TLS 1.1/1.2 - which I don't yet need on English Wikipedia.
  • Fixup WikiSearchListProvider - what does that mean in practical/user terms. What incorrect behaviour, visible to the user, does it fix?
  • Overhaul message system to be displayed to users - what does that actually mean? Exactly what will appear different to the user?
  • Allow users to select which optional update to update to - not an issue if don't update. And in any case I would always manually select which version to download and update to.
Mitch Ames (talk) 13:16, 19 September 2019 (UTC)
@Mitch Ames: Aren't you seeing the StartIndex error dialog where this discussion started? David Brooks (talk) 18:21, 19 September 2019 (UTC)
With v5 I do see the "StartIndex cannot be less than zero" error, but given the context of this section ("... anyone is still using the 5.10 versions...? ... whether it's worth the effort of backporting some of the changes to the 6.X branch to 5.10") my question was intended as "Is there any demonstrable advantage to using version 6 (with English Wikipedia) - other than the fix to the recent login problem, which Reedy is suggesting including in v5?" In particular, see the bullet points in my post of 13:16, 19 September 2019 (UTC). Mitch Ames (talk) 09:50, 20 September 2019 (UTC)
FWIW, the code is open source. The change logs are public. The bugs fixed in phabricator are public. It's not necessarily upto the developers to distill this to a changelog. Other people are able to help do that too (as has happened before). It is a wiki, anyone can edit it. Reedy (talk) 14:14, 20 September 2019 (UTC)
Also, you might not need TLS 1.1/1.2 support, but doesn't mean you can't benefit from it. There are also numerous changes in the .NET framework that I have no idea on the positive affects this may have on AWB. Reedy (talk) 14:16, 20 September 2019 (UTC)
You said that you were "probably going to ... encourage people to upgrade". A summary of changes that is meaningful to the average editor would probably help. Can you provide a specific link to the list of bugs fixed and/or functional changes in AWB v6? (The commit log is not helpful to non-programmers.) Mitch Ames (talk) 01:23, 21 September 2019 (UTC)
  • is there any version of AWB that currently works? If so, where is it? Hmains (talk) 19:12, 21 September 2019 (UTC)
@Hmains: 6.1.0.1 is working for me. It comes from https://sourceforge.net/projects/autowikibrowser/files/autowikibrowser/AutoWikiBrowser6101/AutoWikiBrowser6101.zip/download -- John of Reading (talk) 19:27, 21 September 2019 (UTC)
@John of Reading: Now I don't receive the "StartIndex cannot be less than zero" error but I am back to receiving a popup box saying "Login failed [white x in red circle] Aborted", which has been going on for several weeks now. Hmains (talk) 19:40, 21 September 2019 (UTC)
@Hmains: This thread suggests your password might be too short. Otherwise, I've no idea. -- John of Reading (talk) 20:15, 21 September 2019 (UTC)
@John of Reading: I have no trouble with my password in Commons and EN:WP. Are the rules different now for AWB? Where are the rules? Thanks Hmains (talk) 20:19, 21 September 2019 (UTC)
@John of Reading: My password is currently 8 lower case alpaha and then 4 numbers--12 long Hmains (talk) 20:23, 21 September 2019 (UTC).
@Hmains: Sorry, I'm already out of my depth here. Better to ping @Reedy for advice. -- John of Reading (talk) 20:26, 21 September 2019 (UTC)
@John of Reading: I reset my password and now all is ok; thanks for everything Hmains (talk) 20:29, 21 September 2019 (UTC)
  • I am still using 5.10.1.0 and have been getting the error "An error occurred while connecting to the server or loading project information..." for a couple of days now. I tried to upgrade via AWB updater, which was not successful, since it failed when updating the Updater itself. I have not yet tried to manually download 6.*, because I think I have learnt that some developers do not consider 6.* to be mature yet. The current bug is the first time I learnt there is a 6.* at all. So I am somewhat confused about versioning, which version to use (or as Hmains stated "Is there any version of AWB that currently works?"), and how to get along the current error messages. --Bildungsbürger (talk) 10:07, 22 September 2019 (UTC)

6.1.0.x updateEdit

Kinda sad the T159958 regression is still there, and that T111660 and T158577 haven't made the cut in the new version. I thought that some of these would have been tackled at Wikimania and related hackatons. Headbomb {t · c · p · b} 06:16, 18 September 2019 (UTC)

Sorry. Unfortunately lack of time to actually work on them (though, based on the list, maybe only one of them I'd probably be able to fix easily enough myself). This release was more in response to the specifically broken stuff (even though it's well overdue), rather than as an attempt to get new features et al out. Reedy (talk) 06:26, 18 September 2019 (UTC)
I updated to this version to get round the problem with login but now I get 2 instances of the programme running whenever I start the programme. Keith D (talk) 17:39, 20 September 2019 (UTC)
Unfortunately, we barely had time to work with AWB this year during Hackathon. We need to find a way to keep maintaining AWB. I have some ideas that I will discuss with Reedy. -- Magioladitis (talk) 11:26, 22 September 2019 (UTC)

Double-clicking in Wine?Edit

I'm running under Wine, and when I double-click in the diff window to undo a potential edit, something is intercepting it and it just highlights the word where I double-clicked. Seems like a similar issue to this. Are other people experiencing this? Any fix or workaround suggestions?—Chowbok 03:02, 20 September 2019 (UTC)

Where to download from?Edit

I stupidly allowed my hard drive to be "cleaned" when having some hardware maintenance done, and now AWB won't launch properly. I'd like to try a fresh install: can someone remind me where to get a new copy from? Thanks. --Auntof6 (talk) 05:55, 22 September 2019 (UTC)

@Auntof6: The latest version, 6.1.0.1, downloads from https://sourceforge.net/projects/autowikibrowser/files/autowikibrowser/AutoWikiBrowser6101/AutoWikiBrowser6101.zip/download -- John of Reading (talk) 07:02, 22 September 2019 (UTC)
@John of Reading: Thanks! --Auntof6 (talk) 07:34, 22 September 2019 (UTC)
Return to the project page "AutoWikiBrowser".