Wikipedia talk:AutoWikiBrowser
- Home
Introduction and rules - User manual
How to use AWB - Discussion
Discuss AWB, report errors, and request features - User tasks
Request or help with AWB-able tasks - Technical
Technical documentation
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.
![]() | Please click here to start a new discussion. |
Index 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 |
This page has archives. Sections older than 30 days may be automatically archived by Lowercase sigmabot III. |
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 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
|
---|
//Detect IE5.5+ if (navigator.appVersion.indexOf("MSIE")==-1) { // Previous contents go here .... }
|
Discussion
[edit]AWB Permission error
[edit]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)
- 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)
- 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)
- Same here. I used it last week without problems. Christian75 (talk) 16:21, 8 August 2024 (UTC)
- 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 (talk ⋅dgaf) 16:21, 8 August 2024 (UTC)
- That's a very Jurassic Park we've-never-shut-down-the-system sort of approach. Primefac (talk) 16:23, 8 August 2024 (UTC)
- 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)
- That's a very Jurassic Park we've-never-shut-down-the-system sort of approach. Primefac (talk) 16:23, 8 August 2024 (UTC)
- I was using it 12 hours ago so it's a pretty recent thing Brandon Downes (talk) 16:22, 8 August 2024 (UTC)
- It might be WP:THURSDAY. -- John of Reading (talk) 16:33, 8 August 2024 (UTC)
- Ah, the developers are aware - phab:T372017 -- John of Reading (talk) 16:36, 8 August 2024 (UTC)
- 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 (talk ⋅dgaf) 16:21, 8 August 2024 (UTC)
- Same here. I used it last week without problems. Christian75 (talk) 16:21, 8 August 2024 (UTC)
- 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)
- Same here, and I got my saved settings deleted too for some reason. Sp1dey 💬 19:00, 8 August 2024 (UTC)
- 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)
- 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)
- 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)
- 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)
- This won't be any interesting for nobody - but - same error here. Emptywords (talk) 19:47, 8 August 2024 (UTC)
- And yet another one here. Timrollpickering (talk) 21:44, 8 August 2024 (UTC)
- 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)
- 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)
- 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)
- And yet another one here. Timrollpickering (talk) 21:44, 8 August 2024 (UTC)
- 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)
- I've just downloaded 6.3.1.0 and it is working for me. Kiwipete (talk) 09:35, 9 August 2024 (UTC)
- Thank you. Happy days, ~ LindsayHello 10:34, 9 August 2024 (UTC)
- 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)
- 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)
- 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)
- 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)
- 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)
- Thank you. Happy days, ~ LindsayHello 10:34, 9 August 2024 (UTC)
- Yes that works now. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 11:20, 9 August 2024 (UTC)
- It works! Thank you so much. Sp1dey 💬 11:25, 9 August 2024 (UTC)
- I've just downloaded 6.3.1.0 and it is working for me. Kiwipete (talk) 09:35, 9 August 2024 (UTC)
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)
- I suggest adding something like this to the top of Wikipedia:AutoWikiBrowser and Wikipedia:AutoWikiBrowser/User manual for a while:
![]() | Login problem If AutoWikiBrowser claims you don't have enough privilleges then try updating to version 6.3.1.0 or later (discussion). |
- PrimeHunter (talk) 12:24, 9 August 2024 (UTC)
- 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)
- @PrimeHunter: It works for me now after updating to version 6.3.1.1. — Jeff G. ツ 10:27, 12 August 2024 (UTC)
- Not working on ta.wikipedia.--Kanags (talk) 11:14, 12 August 2024 (UTC)
- @Jeff G. Yes, version 6.3.1.1 sees to fixed it. Veracious ^(•‿•)^ 07:46, 13 August 2024 (UTC)
- Even 6.3.1.0 fixed it for me. -- Auntof6 (talk) 17:40, 13 August 2024 (UTC)
- I haven't used AWB prior to this and only got user rights a week or so ago. I updated to 6.3.1.1 but the error still comes back Kowal2701 (talk) 18:04, 15 August 2024 (UTC)
Issue with template "fix"
[edit]The change to {{banner shell}} should not have happened in Special:Diff/1241032103. It's not on WP:AWB/TR so I'm not really sure why it got replaced. Thoughts? Primefac (talk) 10:05, 19 August 2024 (UTC)
- I have an old copy of the AWB sources on my hard drive. The source code module
TalkPageFixes.cs
has a hard-coded list of known redirectsBannerShellRedirects
, which needs updating now that {{banner shell}} has been retargeted. Rather than get AWB fixed [again] it may be simpler to update all the Talk pages that use {{banner shell}} so that the bug does not occur. -- John of Reading (talk) 10:27, 19 August 2024 (UTC)- Fun. I'll throw up a WP:AWBTASKS request. Primefac (talk) 10:39, 19 August 2024 (UTC)
- Okay, should be sorted now. Primefac (talk) 12:45, 19 August 2024 (UTC)
- Not directly related, but there is an another outstanding fix for banner shell edits, described here. It only requires deleting a few lines of code, ahem. I've linked the tickets in the interests of only opening the patient once. David Brooks (talk) 19:46, 21 August 2024 (UTC)
- Okay, should be sorted now. Primefac (talk) 12:45, 19 August 2024 (UTC)
- Fun. I'll throw up a WP:AWBTASKS request. Primefac (talk) 10:39, 19 August 2024 (UTC)
Adding WikiProject banners
[edit]Hi, is WP:Kingbotk still used for this? It doesn't seem the bot is active and I can't see a way to do edit WikiProject banner shells on vanilla AWB Kowal2701 (talk) 08:44, 27 August 2024 (UTC)
- I'm about to begin tagging articles for WP:WikiProject Anthropology/Oral tradition taskforce. I've gotten AWB to work however I'm stuck regarding KingbotK (TL;DR the KingbotK plugin fails to load). I've followed the instructions and have downloaded it and moved it into the same file as AutoWikiBrowser.exe.config. When I load AWB and click the 'Plugins' tab I get two options: 'Load...' and 'Manager...' Load takes me to the file and I click on 'Kingbotk AWB Plugin.dll'. Nothing changes, and when I click Manager it tells me it failed to load with no further information or options. Kowal2701 (talk) 11:25, 2 September 2024 (UTC)
- Any help would be greatly appreciated Kowal2701 (talk) 15:33, 6 September 2024 (UTC)
- Probably because of the "don't trust downloaded dlls" feature that's now pretty much default in Windows. Especially if you had to go through a "yes, really run this" procedure the first time you launched AWB. Anyway, find the DLL itself under the Plugins directory, right-click, Properties. If you see "This file came from another computer..." and an Unblock checkbox, click it and hit OK. I wish we didn't have to do this, but MS has decided to save you from yourself. David Brooks (talk) 17:09, 7 September 2024 (UTC)
- @DavidBrooks thank you so much! Please have a great day Kowal2701 (talk) 17:48, 7 September 2024 (UTC)
- Probably because of the "don't trust downloaded dlls" feature that's now pretty much default in Windows. Especially if you had to go through a "yes, really run this" procedure the first time you launched AWB. Anyway, find the DLL itself under the Plugins directory, right-click, Properties. If you see "This file came from another computer..." and an Unblock checkbox, click it and hit OK. I wish we didn't have to do this, but MS has decided to save you from yourself. David Brooks (talk) 17:09, 7 September 2024 (UTC)
- Any help would be greatly appreciated Kowal2701 (talk) 15:33, 6 September 2024 (UTC)
Unauthorized Access Exception error
[edit]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)
- Try look Search -> Local Security Policies -> Software Restrictions Policies -> Additional Rules; and check if exists any "path" type rules that prevent execution of certain files or access to certain folders. IndyJr (talk) 17:18, 11 August 2024 (UTC)
- @IndyJr: Thank you. I presume you mean search in settings in Windows 11? There is no result - other than a web search - for "Local Security Policies". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:36, 11 August 2024 (UTC)
- Yes, Win11. But I've the Pro version, perhaps these settings doesn't exists in the Home version. IndyJr (talk) 18:10, 11 August 2024 (UTC)
- @IndyJr: Thank you. I presume you mean search in settings in Windows 11? There is no result - other than a web search - for "Local Security Policies". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:36, 11 August 2024 (UTC)
Restored from the archive; the issue persists. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:05, 11 September 2024 (UTC)
- I'm curious why it is trying to find the updater in Program Files (x86). Is that where you put the install? Anyway, it's possible you have the same problem as explored above. Find the folder with the AWBUpdater.exe file, right-click on the file, Properties. If the dialog offers you an Unblock checkbox, check it and OK. Does that help? If so, you should probably do the same with all the exe's and DLLs in the release. David Brooks (talk) 21:02, 12 September 2024 (UTC)
- Yes, it is installed in 'Program Files (x86)'. I did as you suggest and there was no "unblock" option. The file was read-only, so I removed that, but it made no difference. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:14, 13 September 2024 (UTC)
Question regarding certain replacements
[edit]Hi, I want to make this type of replacements inside a template, is it possible by AWB:
{{TEMPLATE|123|XYZ}}
->{{TEMPLATE|page=123|text=XYZ}}
(i.e. shift unnamed parameters into named ones){{TEMPLATE|2=XYZ|1=123}}
->{{TEMPLATE|123|XYZ}}
(i.e. organize ordering of unnamed parameters)
Thanks, —Svārtava (t/u) • 09:49, 12 September 2024 (UTC)
- If your use cases will always appear in the orders you describe, then sure, using regex:
({{TEMPLATE\s*\|\s*)([^|]*)\|([^}]*)}}
→$1page=$2|text=$3}}
({{TEMPLATE\s*\|\s*)2=([^|]*)\|1=([^}]*)}}
→$1$3|$2}}
- That being said, if a template takes both named and unnamed parameters (e.g. {{{1|{{{page|}}}}}}) then AWB should not be used to do this, as it is a cosmetic and unnecessary change and would be contrary to our rules of use. On the other hand, if a template is being replaced or otherwise updated then it is probably okay. I'd like to more details mainly so I could make sure I'm giving you the best advice for the edits you're seeking to make. Primefac (talk) 10:30, 12 September 2024 (UTC)
- Thanks a lot for the reply, those were very helpful (I needed to some template updating/standardizations on Wiktionary, for which I asked). I dealt with cases not always appearing in the order I described by adding the alternate sequence in another row. The use of variables as you showed will also be very useful in future. —Svārtava (t/u) • 10:02, 15 September 2024 (UTC)