Jump to content

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:
    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.4.0.0. 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.

Discussion

[edit]

Stop typo fixes changing edit summary

[edit]

I'd like to stop the addition of the [[WP:AWB/T|typo(s) fixed]]: text to edit summaries when using AWB's automatic typo fixes. Is there any way to do this? Using the "lock the default edit summary" option doesn't stop it from being added. Suntooooth, it/he (talk/contribs) 00:01, 30 June 2024 (UTC)[reply]

two factor authentication login issue

[edit]

After I have enabled two factor authentication, I am unable to login in the autowikibrowser. While trying to login a pop up comes up telling aborted. What is the solution for this issue. ? Balaji (Let's talk) 08:13, 4 July 2024 (UTC)[reply]

@Balajijagadesh see Wikipedia:Using AWB with 2FA. — xaosflux Talk 08:42, 4 July 2024 (UTC)[reply]
Perhaps the language code does not match during authorization? Игорь Темиров (talk) 04:00, 5 July 2024 (UTC)[reply]
@User:Xaosflux. thanks it worked. -- Balaji (Let's talk) 08:53, 18 July 2024 (UTC)[reply]

New categories

[edit]

Hello. Could you tell me, please, where can I see the (new, automatic, and hidden) categories of the result? If I made a mistake, I should know when the tracking category appears. Thank you. IKhitron (talk) 19:11, 6 July 2024 (UTC)[reply]

Replace maximum again

[edit]

Hi. Continuing Wikipedia talk:AutoWikiBrowser/Archive 34#Replace maximum, I'm here to tell that I've just finished the work. 1246 string replacements, about ten of them were added on the fly, about 2500 pages. @SchreiberBike, you asked me to call you. IKhitron (talk) 22:15, 11 July 2024 (UTC)[reply]

Have you tried using plugins or a custom module? Игорь Темиров (talk) 03:44, 12 July 2024 (UTC)[reply]
Not at all, just the regular stuff. IKhitron (talk) 09:17, 12 July 2024 (UTC)[reply]
When using plugins or modules, your research simply would not be needed. Игорь Темиров (talk) 10:20, 12 July 2024 (UTC)[reply]
Well, too late. IKhitron (talk) 10:08, 13 July 2024 (UTC)[reply]
Игорь Темиров, please don't criticise other people for doing things a different way. Primefac (talk) 13:00, 13 July 2024 (UTC)[reply]
I suggest another way. But you criticize. Игорь Темиров (talk) 13:55, 13 July 2024 (UTC)[reply]
We're getting off-topic, but the two are not the same. It's one thing to say "doing it this way will also work", it's another to say "you wasted your time by not doing it this way". The first is a suggestion for another way, the second is a criticism of the original way. Primefac (talk) 18:57, 13 July 2024 (UTC)[reply]
We're going off topic. But you have problems with logic. I think IKhitron and I understood each other exactly as needed. Игорь Темиров (talk) 19:10, 13 July 2024 (UTC)[reply]

Bug: HTML comment wrongly moved during general fixes

[edit]

In this diff, you can see how "General fixes" moved a comment from beside the issue to which it referred, to the wrong point in the article. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:26, 13 July 2024 (UTC)[reply]

In my experience, this is a longstanding bug where AWB disturbs html comments in this and other ways. It needs to be smart enough to leave them alone. Stefen Towers among the rest! GabGruntwerk 17:56, 16 July 2024 (UTC)[reply]

Giving up using AWB to do periodic talk page cleanups

[edit]

Due to a couple issues with AWB, talk page cleanups have become too impractical to do:

  1. It removes "blp=no" for bio articles of dead people. Even though might be considered a default in terms of display of the template, removing this parameter adds the talk page to a problem category.
  2. It inserts "|1=" when that is no longer the usage suggestion in {{WikiProject banner shell}} and removed by bots when making other changes.

I don't know how to make AWB skip doing these changes without removing part of the reason I'm using AWB: for talk page-related general fixes. Stefen Towers among the rest! GabGruntwerk 18:10, 16 July 2024 (UTC)[reply]

Already reported on Feb 10, see archive 34. Tracked as T358963 but no fix yet. David Brooks (talk) 21:34, 16 July 2024 (UTC)[reply]
Thanks, and I see I replied to that topic. I guess I had a "Mr. Short Term Memory" moment. Glad it's being tracked at least. Stefen Towers among the rest! GabGruntwerk 03:40, 17 July 2024 (UTC)[reply]

unable to load module

[edit]

Hello. Few weeks ago, I made a clean reinstall of Windows 10. A couple of days ago, I was trying to load a custom module, but I got following error:

Compiler executable file csc.exe cannot be found.
**description**: 
**workaround**: 
--------------------------
<table><tr><th>Exception:</th><td>`InvalidOperationException`</td></tr>
<tr><th>Message:</th><td>`Compiler executable file csc.exe cannot be found.`</td></tr>
<tr><th>Call stack:</th><td><pre>   at System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
   at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
   at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
   at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
   at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
   at WikiFunctions.CustomModules.CustomModuleCompiler.Compile(String sourceCode, CompilerParameters parameters)
   at AutoWikiBrowser.CustomModule.MakeModule()</td></tr>
</table>
**OS**: Microsoft Windows NT 6.2.9200.0
**version**: AutoWikiBrowser (6.3.0.0), WikiFunctions (6.3.0.0), revision 12558 (2024-01-16 20:38:04)
**net**: 4.0.30319.42000
**duplicate**: 
**site**: https://en.wikipedia.org

After that, I installed the .NET framework, I located the csc.exe file, and updated the system environment variable/path. Still, I am getting the same error. Any suggestions? —usernamekiran (talk) 04:28, 22 July 2024 (UTC)[reply]

I am on Windows 11 and have csc.exe in the following locations:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
C:\Windows\Microsoft.NET\Framework64\v3.5\csc.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
C:\Windows\WinSxS\amd64_netfx-csharp_compiler_csc_b03f5f7f11d50a3a_10.0.22621.1_none_52bef3eed921ca5e\csc.exe
C:\Windows\WinSxS\amd64_netfx35linq-csharp_31bf3856ad364e35_10.0.22621.1_none_78c17abe07e8090b\csc.exe
C:\Windows\WinSxS\amd64_netfx4-csc_exe_b03f5f7f11d50a3a_4.0.15912.0_none_78ce8a6e35a89ad2\csc.exe
C:\Windows\WinSxS\amd64_netfx4-csc_exe_b03f5f7f11d50a3a_4.0.15912.322_none_6ee01ba4a5a0f42b\csc.exe
C:\Windows\WinSxS\x86_netfx-csharp_compiler_csc_b03f5f7f11d50a3a_10.0.22621.1_none_9a6c2ac5ed9df364\csc.exe
C:\Windows\WinSxS\x86_netfx35linq-csharp_31bf3856ad364e35_10.0.22621.1_none_1ca2df3a4f8a97d5\csc.exe
C:\Windows\WinSxS\x86_netfx4-csc_exe_b03f5f7f11d50a3a_4.0.15912.0_none_c07bc1454a24c3d8\csc.exe
C:\Windows\WinSxS\x86_netfx4-csc_exe_b03f5f7f11d50a3a_4.0.15912.322_none_b68d527bba1d1d31\csc.exe
I'm not sure which of these is used by AWB, but I have no problems executing a C# script. Kiwipete (talk) 08:27, 22 July 2024 (UTC)[reply]
@Kiwipete: thanks. Would it be okay if I ask you to see what's path to csc.exe in system environment variable? Mine points to C:\Windows\Microsoft.NET\Framework64\v4.0.xxxxx (I don't remember the exact version) I had added it manually. —usernamekiran (talk) 16:35, 22 July 2024 (UTC)[reply]
@Usernamekiran - sorry, I'm not sure what you mean by "path to csc.exe in system environment variable". Where do you get your value of "C:\Windows\Microsoft.NET\Framework64\v4.0.xxxxx" from? That might give me a clue as to what to search for. Regards, Kiwipete (talk) 08:01, 23 July 2024 (UTC)[reply]

AWB not saving edits

[edit]

I'm using AWB on Fandom and am trying to do a find and replace edit. I can get it to find an applicable page and it shows the correct edit to be made, but when I press Save, it says Saving... and gives a restart timer. I can't get it to actually make the change. Any suggestions? Fluffbutter (talk) 17:17, 22 July 2024 (UTC)[reply]

@Fluffbutter: I'm not sure, but I think some fandoms require permission to use AWB. If it's not that problem, it may be your ISP. I used to have that problem a lot of times. Try using some other connection for making a couple of edits, like your mobile hotspot. —usernamekiran (talk) 23:24, 22 July 2024 (UTC)[reply]
I got it to work! I had to update the Bot Password permissions. Fluffbutter (talk) 23:38, 22 July 2024 (UTC)[reply]