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 AutoWikiBrowser (AWB) project. It is also the place to discuss using the AWB program (for help, questions, or general inquiries about AWB). Specific guidelines on where to make particular reports or requests are provided in the § Before you post section below. Before asking a question, please refer to the read the § Frequently asked questions below.
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 bugs on Phabricator before filing a new bug report. You do not need to create another account there; just log in with your global 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]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)
- @DavidBrooks sorry to bother you, but do you know how to go about tagging articles for a taskforce? It doesn't seem like the generic template on Kingbotk supports taskforces unless I'm mistaken Kowal2701 (talk) 17:36, 4 October 2024 (UTC)
- @Kowal2701: Not my area of expertise, sorry. David Brooks (talk) 18:24, 5 October 2024 (UTC)
- no worries, thank you for replying Kowal2701 (talk) 18:25, 5 October 2024 (UTC)
- @Kowal2701: Not my area of expertise, sorry. David Brooks (talk) 18:24, 5 October 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)
Why is AWB PC only
[edit]Will there ever be mobile support? (such as a link in the sidebar or the three dots icon when visiting an article) Electrou (formerly Susbush) (talk) 13:52, 5 October 2024 (UTC)
- You're free to take the code and port it to mobile systems if you want. Headbomb {t · c · p · b} 14:05, 5 October 2024 (UTC)
- Even I'm on mobile, but how will I get the code for it (I want to create a port to mobile) Electrou (formerly Susbush) (talk) 15:52, 5 October 2024 (UTC)
- It's linked above. The codebase is in C#, so I don't know what toolchains there presently are for that. Remsense ‥ 论 16:21, 5 October 2024 (UTC)
- Where is the link? I don't see it. Electrou (formerly Susbush) (talk) 16:32, 5 October 2024 (UTC)
- Wikipedia:AutoWikiBrowser/Technical. Remsense ‥ 论 16:33, 5 October 2024 (UTC)
- That's just for computer Electrou (formerly Susbush) (talk) 16:39, 5 October 2024 (UTC)
- Correct. It's the source code for a C# app written for Windows. Remsense ‥ 论 16:46, 5 October 2024 (UTC)
- The app is based on Windows Forms, which was very much designed around Windows itself (its successor, WPF, was/is more mobile and cross-platform friendly). It uses a lot of other Windows-specific API. Also, its UI has a lot of "chrome" (interacting elements) and would require a complete re-think to fit onto a small screen. You might get a clue from the Windows Portability Analyzer, but it's over 10 years old and won't even install on my system. If I were seriously tasked with doing this, I might start with the official Wikipedia mobile app and think through what AWB features I might like to wrap around it. No, not volunteering! David Brooks (talk) 18:50, 5 October 2024 (UTC)
- Correct. It's the source code for a C# app written for Windows. Remsense ‥ 论 16:46, 5 October 2024 (UTC)
- That's just for computer Electrou (formerly Susbush) (talk) 16:39, 5 October 2024 (UTC)
- Wikipedia:AutoWikiBrowser/Technical. Remsense ‥ 论 16:33, 5 October 2024 (UTC)
- Where is the link? I don't see it. Electrou (formerly Susbush) (talk) 16:32, 5 October 2024 (UTC)
- It's linked above. The codebase is in C#, so I don't know what toolchains there presently are for that. Remsense ‥ 论 16:21, 5 October 2024 (UTC)
- Even I'm on mobile, but how will I get the code for it (I want to create a port to mobile) Electrou (formerly Susbush) (talk) 15:52, 5 October 2024 (UTC)
- @Electrou, you can always try JWB in the desktop mode on mobiles. It has less functionality then AWB, but can be good enough for your tasks. IKhitron (talk) 14:03, 8 October 2024 (UTC)
Tagging for taskforces
[edit]Does anyone know how to go about tagging pages for taskforces using WP:AWB? It doesn't seem like the generic template on Kingbotk supports taskforces unless I'm mistaken. Kowal2701 (talk) 18:30, 5 October 2024 (UTC)
- I assume you mean something like adding
|eclipses=yes
to {{astronomy}}? If so, I feel like just adding the taskforce to the template call directly would be easiest. I generally do a find/replace adding in the extra parameter. Primefac (talk) 13:36, 6 October 2024 (UTC)- That's really clever, thank you! Kowal2701 (talk) 13:51, 6 October 2024 (UTC)
- @Primefac sorry to bother you again, but Kingbotk isn't putting the template in the banner shell, but at the top of the page. It still does this with all AWB features like Find and Replace turned off. Append/prepend text is turned off. This was working fine earlier. The generic template has alternate names, and I've added a "Skip regular expression". No worries if you're too busy Kowal2701 (talk) 12:58, 12 October 2024 (UTC)
- I've never used Kingbotk so I don't know how it should be tweaked to get your desired outcome. Primefac (talk) 17:37, 12 October 2024 (UTC)
Add TOCright template to pages
[edit]I am trying to add the TOCright template to various pages on a wiki, but I can't figure out to add a template to a page. I tried to prepend
{{TOCright}}
onto the pages, but it just added the plain text to the page. Sorry to ask something so basic, but I searched for the solution and just couldn't find it. Thx! Fluffbutter (talk) 18:50, 10 October 2024 (UTC)
- Are you saying that it's adding just the text to the code, or when you view the page after saving you only see the actual {{TOCright}}? Primefac (talk) 20:31, 10 October 2024 (UTC)
- It added the text
Template:TOCright
to the page. - But I figured it out. I didn't have the capitalization correct for the name of the template on the wiki I am working on. With the correct capitalization, the prepend worked.
- Thx for taking the time to respond! Fluffbutter (talk) 21:17, 10 October 2024 (UTC)
- It added the text
Wine instructions out-of-date?
[edit]The instructions on using AWB with Wine seem to be very out-of-date and a bit confusing. – Closed Limelike Curves (talk) 19:09, 10 October 2024 (UTC)
Kingbotk
[edit]Hi, Kingbotk isn't putting the template in the banner shell, but at the top of the page. It still does this with all AWB features like Find and Replace turned off and when you click "Set AWB" in the Plugin tab. Append/prepend text is turned off. This was working fine earlier, there's probably just a small tweak needed. The generic template has alternate names, and I've added a "Skip regular expression". Any help would be greatly appreciated. Kowal2701 (talk) 17:49, 12 October 2024 (UTC)
- I really know nothing about this plugin, but I do notice a comment on its PrependTemplate method:
- "// Add the template on the top. General fixes will put in a shell if it exists"
- which suggests something needs to be done at the main AWB level. But again I really don't know. David Brooks (talk) 16:34, 14 October 2024 (UTC)
- Thank you so much. It works! The plugin has an option to "Set AWB" which turns general fixes off, but that must be for the templates it already supports, rather than the generic template where you make your own. Have a great day/rest of your day! Kowal2701 (talk) 18:09, 14 October 2024 (UTC)
- One thought on that, which I now remember from a similar case a while back - append/prepend is done after genfixes, so if you're doing so and want genfixes to run, use the "F5"/refresh option after the changes have been made, which will re-run the genfixes and should hopefully move any banners into the shell if it's there. Primefac (talk) 11:42, 15 October 2024 (UTC)
- Thank you so much. It works! The plugin has an option to "Set AWB" which turns general fixes off, but that must be for the templates it already supports, rather than the generic template where you make your own. Have a great day/rest of your day! Kowal2701 (talk) 18:09, 14 October 2024 (UTC)
I’m not sure what happened with the article. I only intended to add tags and fix typos, but somehow it ended up creating an article. Can someone help me understand what went wrong? Comr Melody Idoghor (talk) 15:37, 17 October 2024 (UTC)
- You edited the article seconds after the page was deleted, so you saved an edit on a page with no history. Primefac (talk) 15:45, 17 October 2024 (UTC)
- Oh, that makes much sense. Thanks for clarifying. Comr Melody Idoghor (talk) 15:52, 17 October 2024 (UTC)
Delete feature
[edit]Hi! Although I am the admin on Ukrainian Wikipedia, AWB does not let me delete or protect pages. Can someone help with this? Renvoy (talk) 13:30, 19 October 2024 (UTC)
"Following" #Rs from moves without an #R left behind
[edit]I frequently come across pages that have been moved without leaving a redirect, like Category talk:Piano pedagogues. The destination, Category talk:Piano educators, is right there on the (browser) page, and I'd like to capture it, but can't figure out how. The api doesn't return the destination, and using the normal URLs [1][2] both return null Tools.GetHTML()
. Does anyone know how this can be done? ~ Tom.Reding (talk ⋅dgaf) 15:28, 19 October 2024 (UTC)
- If you use the API to query for move events in the logs for the page the info you need is shown: move log. Rjwilmsi 09:39, 20 October 2024 (UTC)
- Excellent, thank you! ~ Tom.Reding (talk ⋅dgaf) 09:44, 20 October 2024 (UTC)
Restarting in >> seconds (again)
[edit]I downloaded it three days ago on Windows 11, AWB Version 6.3.1.1 (SVN 12633). I want to work on the Slovenian Wikipedia, so I am logged in there. Other Slovenian users don’t have any issues. It works fine until I press the "Save" button, after which I get the message "Restarting in ...". Pinky sl (talk) 14:37, 26 October 2024 (UTC)
Removal of blp parameter by genfixes
[edit]In this diff, the |blp=no
parameter was removed from {{WikiProject banner shell}}, which is incorrect. This parameter is needed to identify that the subject is not living. Otherwise the page ends up in Category:Biography articles without living parameter which is a maintenance category — Martin (MSGJ · talk) 22:09, 27 October 2024 (UTC)
- This came up earlier in the year (see /Archive 34#Request to change banner shell general fixes) and is tracked by T358963. If I recall correctly the OP had already fixed the cases they were concerned about. I just noticed it was also reported at /General fixes#BLP tagging. David Brooks (talk) 16:14, 28 October 2024 (UTC)
- OK, rev 12643 / T358963 don't remove "blp=no" from WikiProject banner shell. Will be in next release of AWB. Rjwilmsi 17:33, 28 October 2024 (UTC)
No longer handling WP:ORDER issues (specifically WP:STUBSPACING)
[edit]I'm having to manually drop the stub templates two spaces down where previously AWB did a pretty good job at handling those. It seemed to work nicely, whether the stub templates were butted up right beneath the categories, or whether they were mixed in with some of the nav templates. Seems like that functionality is gone now. Dawnseeker2000 22:19, 28 October 2024 (UTC)
- OK, I may be an idiot. Gen Fixes was off so continuing to edit and see if that does the trick. Dawnseeker2000 22:28, 28 October 2024 (UTC)