Nothing Special   »   [go: up one dir, main page]

Jump to content

Wikipedia talk:AutoWikiBrowser

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

This is an old revision of this page, as edited by DavidBrooks (talk | contribs) at 18:34, 9 August 2024 (unable to load module: Correct phabricator link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

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

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

two factor authentication login issue

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]

Replace maximum again

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

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

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

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]
I just started to configure a new Surface Pro, Windows 11 on ARM64, and have the same problem. Two old, well-established x64 Win10 systems are working OK with the same copy of AWB. Adding the path to a version of csc.exe to the PATH environment variable (per-user version, but that shouldn't matter) doesn't help, and in any case it's not set on my other systems. It seems that something weird is happening in the CSharpCodeProvider class, but I'm not set up to investigate yet.
I assumed it had something to to with either Win11 or ARM/x86 emulation, but Usernamekiran has neither. BTW, the WinSxS copies are irrelevant; that is the Windows secure component store used during update or recovery.
I'll try to set up for debugging and see what else I can find. It may take a few days. David Brooks (talk) 14:19, 30 July 2024 (UTC)[reply]
@David Brooks: Hi. On my desktop I have Win 10 pro, and on (older) laptop, home edition. I had made clean re-install on both the systems around the same time, I think in first week of March. I am having the same problem on both the computers, both of them x86. I tried changing "user", as well "system" path, didn't work. @Kiwipete: I am currently not on windows, so I am writing this based on my memory. If you search in the Windows search bar for "system environment variable", you will see the tool for that, after clicking on it, in the new window, there would be an option "environment variables" at the bottom. If you click on it, there would be another new window, on it, there would be "system variables", and "user variables". if you edit "PATH" section, there should be the values we are looking for. —usernamekiran (talk) 07:03, 31 July 2024 (UTC)[reply]
@Usernamekiran, @DavidBrooks, thanks, I now understand what you are looking at. In the Environment Variables, I have a PATH user variable (for my account) set to "%M2%;%JAVA_HOME%\bin;%MARIADB_HOME%\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;". These are mainly applications I have configured myself. I also have a PATH system variable, set to "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;D:\jZip;D:\PuTTY\;D:\TortoiseSVN\bin;". When I open a command prompt, I get the following resulting PATH variable: "Path=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;D:\jZip;D:\PuTTY\;D:\TortoiseSVN\bin;D:\apache-maven-3.9.8\bin;D:\jdk-11\bin;D:\MariaDB 10.4\bin;C:\Users\pete\AppData\Local\Microsoft\WindowsApps;". Note I don't see any directory containing csc.exe that I mentioned above listed in the PATH. When I try "where csc" or "where csc.exe", I get the response "INFO: Could not find files for the given pattern(s).". Sorry if that's still not much help. Kiwipete (talk) 08:54, 31 July 2024 (UTC)[reply]
For Windows 10 there is no need to install all the old .NET versions. Installing the current .NET 4.x.x as provided by Windows Update should be fine. I suspect installing the older versions may have created a conflict. When you have the custom module screen open in AWB what option are you using in the Language field (C# 4.0 would be expected) / hhave you tried all of the C# ones if multiple? Also you might check registry path HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\ as that is apparently the path that will be used. Rjwilmsi 12:58, 31 July 2024 (UTC)[reply]

The only option provided in AWB is 3.5, and that refers to the language version, not the compiler version. Newer compilers will observe the (more restricted) language of older versions because reasons.

But thanks for your hint and technical insight. On the new system there is only a \ToolsVersions\4.0 key. I added a 3.5 key and populated it with a string value MSBuildToolsPath:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ and it works. Clearly the language version is driving the lookup. Just check that the directory exists in your system and has a csc.exe. If you don't like editing the registry (and it still makes me uneasy after 18 years at Microsoft) then maybe installing the 3.5 Framework will work, if you can find it. Or not.

I think this is a Microsoft bug, given that the CSharpCodeProvider class does offer down-level language versions. At best it should hunt the ToolsVersions key for a value >= the language version. Or at least the restriction should be documented. I'll whine at my former colleagues. David Brooks (talk) 14:26, 31 July 2024 (UTC)[reply]

p.s. on my new system, C:\Windows\Microsoft.NET\FrameworkArm64\v4.0.30319\ works as well (and is theoretically more efficient). David Brooks (talk) 15:00, 31 July 2024 (UTC)[reply]
Update: apologies, that was an incomplete fix. Because AWB is still a 32-bit app, if you are running on a 64-bit system, you should add the 3.5 key under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSBuild\ToolsVersions alongside the 4.0 that you should find already there. Add a MSBuildToolsPath value as above. It wouldn't hurt to add it to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions anyway in case you come across other 64-bit apps with the same problem.
Also, I was talking nonsense about the compiler version. This is the 4.0 executable, which can compile up to c# 5.0 I think. Sorry about that. David Brooks (talk) 20:36, 1 August 2024 (UTC)[reply]
OK, last say on this, really. The easiest way of making this work, for now, is to install Framework 3.5, which is not usually available on a brand-new system. You can download it directly from here, or you can get it from the "Turn Windows features on and off" dialog if you can find it. A maintainer has already checked in the 4.0 update to the source tree, so the robust fix should be available eventually. Apologies for running all over the place; real life has been intruding this week. David Brooks (talk) 18:54, 3 August 2024 (UTC)[reply]
thanks, framework 3.5 resolved the issue. thanks a lot, David! —usernamekiran (talk) 13:35, 5 August 2024 (UTC)[reply]
If you haven't already downloaded 3.5, there is now no need; the latest (6.3.1.0) version fixed it. David Brooks (talk) 15:37, 9 August 2024 (UTC)[reply]

AWB not saving edits

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]

Tweak needed to keep hidden note next to {{Short description}}

Often a short description of "none" will be followed by a hidden note, as follows:

{{Short description|none}}<!-- "none" is preferred when the title is sufficiently descriptive; see [[WP:SDNONE]] -->

Sometimes these is a space between the template and the note. Either way, AWB wants to move that hidden note to the end of whatever templates are on top of the page. Can it be tweaked so that it leaves it where it is? Cheers! BD2412 T 20:40, 28 July 2024 (UTC)[reply]

HTML comment moved in an undesirable way

In this AWB edit, an HTML comment was moved from its proper location – next to the template that it applied to – to a place that makes less sense. It appears that AWB's general fixes may be programmed to make this undesirable change. Can someone please disable this change or explain what I am missing? Thanks. – Jonesey95 (talk) 12:51, 29 July 2024 (UTC)[reply]

Oops, I didn't see the section above. Here's a diff, anyway. You can see in the subsequent edit after that diff that the move was perceived as an AWB error by Pigsonthewing, the AWB editor. – Jonesey95 (talk) 12:54, 29 July 2024 (UTC)[reply]

Fileformat is invalid

When I update Wikipedia pages containing non-latin characters (e.g. Arabic), I often (not always) get an error message. "The fileformat is invalid" ("Filformatet är ogiltigt" in Swedish, my language). Heading in the error message: ArgumentException in ArticleTextBox.OnHandleCreated

The rest is:

**description**: 
**workaround**: 
--------------------------
<table><tr><th>Exception:</th><td>`ArgumentException`</td></tr>
<tr><th>Message:</th><td>`Filformatet är ogiltigt.`</td></tr>
<tr><th>Call stack:</th><td><pre>   vid System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
   vid System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
   vid System.Windows.Forms.RichTextBox.set_Rtf(String value)
   vid System.Windows.Forms.RichTextBox.OnHandleCreated(EventArgs e)
   vid WikiFunctions.Controls.ArticleTextBox.OnHandleCreated(EventArgs e)
   vid System.Windows.Forms.Control.WmCreate(Message& m)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   vid System.Windows.Forms.RichTextBox.WndProc(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)§/pre></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://sv.wikipedia.org

Note: I had to replace < with § before /pre in the last row of the table in order to get a nice display.

In most cases, when I press "Continue Working", the error message disappears and I can continue. In rare cases, all content in the page is erased so I end up with an empty page. Not so nice...

Can I avoid this by any setting or is it a bug that should be reported (never done Phabricator reporting so I start here). Any suggestions would be highly appreciated! Kitayama (talk) 13:23, 3 August 2024 (UTC)[reply]

AWB Permission error

I've had permissions to use AWB since march of this year and I've used it as I said I would to add champion templates to the bottom of results pages for sporting events. However when logging in today I'm getting a permission error that says "This user doesn't have enough privilleges to make automatic edits on this wiki." I'm still on the check page for having permissions and I don't believe I broke any of the rules so I'm slightly confused. Brandon Downes (talk) 16:07, 8 August 2024 (UTC)[reply]

I just came here to add the same thing. I've been using AWB for years and have the current version but I'm getting the same message. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 16:12, 8 August 2024 (UTC)[reply]
Oh ok I'm less concerned now and it's probably just an error. Hopefully it gets fixed soon. Brandon Downes (talk) 16:20, 8 August 2024 (UTC)[reply]
Same here. I used it last week without problems. Christian75 (talk) 16:21, 8 August 2024 (UTC)[reply]
I've been getting this off-and-on today too. Don't think I've seen it before. A partial work-around is to try to keep at least 1 AWB instance logged in successfully, and hope the power/UPS/battery stays on, and sleep/hibernate instead of rebooting, if possible.   ~ Tom.Reding (talkdgaf)  16:21, 8 August 2024 (UTC)[reply]
That's a very Jurassic Park we've-never-shut-down-the-system sort of approach. Primefac (talk) 16:23, 8 August 2024 (UTC)[reply]
And, in my case, impossible. I only use it two or three times a year. Looks like I picked the right day. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 16:32, 8 August 2024 (UTC)[reply]
I was using it 12 hours ago so it's a pretty recent thing Brandon Downes (talk) 16:22, 8 August 2024 (UTC)[reply]
It might be WP:THURSDAY. -- John of Reading (talk) 16:33, 8 August 2024 (UTC)[reply]
Ah, the developers are aware - phab:T372017 -- John of Reading (talk) 16:36, 8 August 2024 (UTC)[reply]
Same here, and I got my saved settings deleted too for some reason. Sp1dey💬 19:00, 8 August 2024 (UTC)[reply]
The permissions failure is because of a change to the server software that didn't fully take into account the needs of apps like AWB: phab:T371977. There does seem to be little progress. I don't think that addresses Sp1dey's setting though. David Brooks (talk) 19:07, 8 August 2024 (UTC)[reply]
Honestly, I’m not sure if there is a connection between the two issues. After receiving the permissions error this morning, I was able to access AWB after restarting my computer. However, when I checked the settings I had saved, I noticed that the most recent changes were gone and there was a version from a few days ago. Moreover, everything was perfectly normal yesterday; both AWB was working and there were no issues with my settings. AWB started to give error again this evening. Of course, as I mentioned, this could just be a coincidence. Sp1dey💬 19:23, 8 August 2024 (UTC)[reply]
I am getting this permissions error on every site but Wikipedia (for which I have had an AWB instance open nonstop for quite some time). BD2412 T 19:32, 8 August 2024 (UTC)[reply]
This won't be any interesting for nobody - but - same error here. Emptywords (talk) 19:47, 8 August 2024 (UTC)[reply]
And yet another one here. Timrollpickering (talk) 21:44, 8 August 2024 (UTC)[reply]
Might as well add on to the pile - another here. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 02:03, 9 August 2024 (UTC)[reply]
Ditto, as either LindsayH or Kahtar, the ID i've been using for AWB for a decade. Happy days, ~ LindsayHello 05:58, 9 August 2024 (UTC)[reply]
There is a new release 6.3.1.0 which appears to work. Within AWB, use "Help > Check for updates" to upgrade to it. -- John of Reading (talk) 09:28, 9 August 2024 (UTC)[reply]
I've just downloaded 6.3.1.0 and it is working for me. Kiwipete (talk) 09:35, 9 August 2024 (UTC)[reply]
Thank you. Happy days, ~ LindsayHello 10:34, 9 August 2024 (UTC)[reply]
On other wikis it doesn't work, search for "AutoWikiBrowser/CheckPageJSON" even on wikis where registration is not required and where, obviously, the file doesn't exist. --Pil56 (talk) 11:01, 9 August 2024 (UTC)[reply]
Not working on sv.wikipedia. I get "Check page filed to load" - even after creating the check page. Kitayama (talk) 12:49, 9 August 2024 (UTC)[reply]
Amended the JSON-file. Was: only enableduser Now: Both enabledusers and enabledbots. Now log in works for both users and bots. Kitayama (talk) 13:24, 9 August 2024 (UTC)[reply]
Yes that works now. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 11:20, 9 August 2024 (UTC)[reply]
It works! Thank you so much. Sp1dey💬 11:25, 9 August 2024 (UTC)[reply]

Heads up to maintainers: the main download page still has 6.3.0.0 on the big green button. David Brooks (talk) 15:37, 9 August 2024 (UTC)[reply]

I suggest adding something like this to the top of Wikipedia:AutoWikiBrowser and Wikipedia:AutoWikiBrowser/User manual for a while:
PrimeHunter (talk) 12:24, 9 August 2024 (UTC)[reply]
Though not a Wikimedia supplied utility, should AWB and other commonly used apps not be part of any change test protocol? Or does that need a specific request? Neils51 (talk) 14:36, 9 August 2024 (UTC)[reply]

Unauthorized Access Exception error

Prompted by the discussion above, I just updated AWB. Windows 11 prompted me to run it as administrator, which I did.

Then when I tried to run the programme, I got an "UnauthorizedAccessException" error, with the exmplanation "Access to the path 'C:\Program Files (x86)\AutoWikiBrowser\AWBUpdater.exe' is denied."

Before I open a Phabricator ticket, is this a known issue/ easily fixed? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:20, 9 August 2024 (UTC)[reply]