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
editDo 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
editRemoval of blp parameter by genfixes
editIn 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)
editI'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)
Username change
editHello. This is Sam S, previously known as The Sharpest Lives. I had a username change and am requesting this is changed in the AWB user list. Thanks. Sam S (talk) 05:24, 8 November 2024 (UTC)
- Done, noting that these sorts of request are best handled at WP:PERM/AWB. Primefac (talk) 12:50, 8 November 2024 (UTC)
Re-up ARM64 build
editI recently offered an unofficial build of AWB optimized for ARM64 PCs, like the new Microsoft Surface. I have a new build that will also run on a "normal" x86-64 PC (but see below). It is built using the latest source tree.
I think it runs faster than the official build not only due to the CPU's emulation overhead, which is less on Windows 11 than 10, but also because it does not have the emulation memory overhead, which is pretty extensive. For example, in my tests on Windows 11 the native ARM64 build uses 29.5 MB on startup, and 56.5 after loading the first article in a moderate size list. The official build, x86 running emulated, uses 49 MB and 74.5 respectively.
Running on an x86-64 PC, this build runs in x64 mode, so it uses more memory than the official x86 build, but not by a huge amount (27.7 versus 22.3 on startup). Anyway, if you have an ARM64 box and want to check it out, it's on github here. David Brooks (talk) 03:57, 12 November 2024 (UTC)
Black background on start?
editIs there a css way to make the diff window background black when starting AWB? Night/dark-mode works well for diffs, but on startup and when switching settings/projects, it defaults to white. ~ Tom.Reding (talk ⋅dgaf) 10:58, 17 November 2024 (UTC)
Is adding links cosmetic?
editI've been adding links to citations (for example {{cite news ... |work=RNZ ... }} to {{cite news ... |work=[[RNZ]] ... }} but someone has opposed this and suggested that it breaks number four of WP:AWBRULES, saying that it's a cosmetic edit. As adding links to citations modifies the HTML of the page, I belive that it is not cosmetic, but I'd like a third opinion please to clear this up. ―Panamitsu (talk) 03:58, 23 November 2024 (UTC)
- It's not cosmetic, but per rule 3 if someone is contesting it, it's on you to demonstrate consensus for it. Nikkimaria (talk) 04:15, 23 November 2024 (UTC)
- Not cosmetic, but I do agree if a single page is being edited multiple times that is a bit of an issue. Primefac (talk) 13:17, 23 November 2024 (UTC)
- For the record, if consensus is needed for this, I endorse and support it. BD2412 T 15:34, 23 November 2024 (UTC)
- I'm fine with this, my primary suggestion is to stack these together in one awb run so that RNZ and ... and ... and ... are all done at once.Naraht (talk) 19:20, 23 November 2024 (UTC)
- Based on my interpretation of the rules, this seems totally acceptable, but again, you could consider running multiple tasks simultaneously or only add links when typos are found. Have fun doing it. Dawnseeker2000 19:49, 23 November 2024 (UTC)
- Personally I think it adds consistency and I'm a huge fan of it. It's an absolute improvement from my point of view. However, I do agree that it shouldn't be one edit at a time per page, but to add instances within the references at once. Hey man im josh (talk) 18:49, 24 November 2024 (UTC)
- Thanks for the suggestions, everyone. I have started adding links to multiple different newspapers at once. ―Panamitsu (talk) 08:14, 25 November 2024 (UTC)
AutoWikiBrowser and searching for pages with capture regex.
editI'm looking for pages that have strings like [[Alpha Phi Alpha|Alpha Phi Alpha fraternity]] So I'd like to search for these with something like \[\[[A-Z][a-z]* [A-Z][a-z]* [A-Z][a-z]*\|\1 and while AWB does capture, it looks like that is only for internal, not for looking for them in the first place, is that something that wikipedia or AWB can do, or is this something where I need Cirrus or something else more powerful? Naraht (talk) 22:50, 24 November 2024 (UTC)
- Not sure what you are after. You have a specific string 'like' then use a generic form of string search entry. Just plain old search is reasonably powerful. If I search for (articles only) ~"Alpha Phi Alpha" I get 799 entries, for ~"Alpha Phi Alpha" insource:/\[\[Alpha Phi Alpha/ I get 683 entries and with this ~"Alpha Phi Alpha" insource:/\[\[Alpha Phi Alpha\|/ I find 15. Neils51 (talk) 23:57, 24 November 2024 (UTC)
- You have to put round brackets into the search string to tell the regex code what
\1
is intended to match. I began a database scan for\[\[([A-Z][a-z]* [A-Z][a-z]* [A-Z][a-z]*)\|\1
but quickly aborted it; there are tens of thousands of matches. Typical examples are[[Global Positioning System|Global Positioning System (GPS)]]
and[[Some Company Name|Some Company Name Ltd]]
. I restricted the search to the names of Greek letters and dumped the results at User:John of Reading/X2 (permalink) -- John of Reading (talk) 08:10, 25 November 2024 (UTC)- Thank you both. While I expect the majority of occurances to be from a group of 9 Fraternites and Sororities, there are hundreds that are possibilities. John, that is exactly what I wanted, I expected to have to trim down some. What software is needed for that Database scan and is that something a non-admin user will have access to?Naraht (talk) 13:50, 25 November 2024 (UTC)
- @Naraht: I used AWB's "Database Scanner". AWB normally needs this permission but if you're only using it to create a list of articles, you can use it without logging in. BUT to use the database scanner, you'll need a copy of the text of Wikipedia on your hard drive - the file
enwiki-20241120-pages-articles.xml.bz2
is a 20 Gigabyte download from partway down this page, and that has to be uncompressed to 102 Gigabytes before AWB can use it. - If you post search requests on this page, I or someone else with a recent database dump will probably respond. -- John of Reading (talk) 14:07, 25 November 2024 (UTC)
- @Naraht: I used AWB's "Database Scanner". AWB normally needs this permission but if you're only using it to create a list of articles, you can use it without logging in. BUT to use the database scanner, you'll need a copy of the text of Wikipedia on your hard drive - the file
- Thank you both. While I expect the majority of occurances to be from a group of 9 Fraternites and Sororities, there are hundreds that are possibilities. John, that is exactly what I wanted, I expected to have to trim down some. What software is needed for that Database scan and is that something a non-admin user will have access to?Naraht (talk) 13:50, 25 November 2024 (UTC)