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 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34, 35 |
This page has archives. Sections older than 30 days may be auto-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]Should I use a bot account instead?
[edit]I read on one of the AWB pages that users should consider having a bot/AWB-only account if they make several edits per minute. After getting access to AWB, I was making ~4 edits per minute on various US Navy ship articles today. Am I being obnoxious and need to move the activity to its own account, or should I keep everything on my current one? With only 81 AWB-enabled bots, it seems like it is only used in rare cases, although I have seen bots run AWB with human oversight before. GGOTCC 03:39, 23 August 2025 (UTC)
- @GGOTCC: I use my main account when fixing typos with AWB. I sometimes hit 10 edits a minute when fixing the same typo on a series of related pages, and no one has ever raised any concerns with my editing rate. -- John of Reading (talk) 07:19, 23 August 2025 (UTC)
- I see, thank you! That is reassuring. GGOTCC 16:55, 23 August 2025 (UTC)
- There may be some mixed messaging. I use an AWB-only account to keep my manual AWB-enabled edits easily identifiable compared with my browser-based account. Using AWB manually you won't be able to get near a rate that will upset the servers (plus, the Wikimedia folks have just added a shield against a rapid sequence of editing from the same place). David Brooks (talk) 23:40, 23 August 2025 (UTC)
- Indeed; there are really three "types" of accounts one can use with AWB: the vast majority of users only have one account and they use it for AWB as well as regular editing. Some prefer to keep their AWB edits separate from their main account and create an AWB-only account (see any user with "AWB" in their name). Others like myself want to run automated processes and thus have an AWB bot account. It doesn't really matter where the edits are coming from if speed is a concern, and to be honest (as said above) no one is going to bat an eye at 4 epm. I'd just carry on doing what you're doing unless you really want to keep the edit types separate. Primefac (talk) 21:26, 24 August 2025 (UTC)
- The Mediawiki team has just introduced some features that can rate-limit or block bots, but we have been assured that AWB will not be impacted, even in bot mode. I believe that may change, which could require some changes to AWB, but for now don't worry. David Brooks (talk) 20:29, 25 August 2025 (UTC)
- Indeed; there are really three "types" of accounts one can use with AWB: the vast majority of users only have one account and they use it for AWB as well as regular editing. Some prefer to keep their AWB edits separate from their main account and create an AWB-only account (see any user with "AWB" in their name). Others like myself want to run automated processes and thus have an AWB bot account. It doesn't really matter where the edits are coming from if speed is a concern, and to be honest (as said above) no one is going to bat an eye at 4 epm. I'd just carry on doing what you're doing unless you really want to keep the edit types separate. Primefac (talk) 21:26, 24 August 2025 (UTC)
- There may be some mixed messaging. I use an AWB-only account to keep my manual AWB-enabled edits easily identifiable compared with my browser-based account. Using AWB manually you won't be able to get near a rate that will upset the servers (plus, the Wikimedia folks have just added a shield against a rapid sequence of editing from the same place). David Brooks (talk) 23:40, 23 August 2025 (UTC)
- I see, thank you! That is reassuring. GGOTCC 16:55, 23 August 2025 (UTC)
Regex help
[edit]Can anyone help me out with a regex? I’m trying to clean out unknown parameters and am using the following regex.
\n*\s*\|\s*(SAT|ACT|ACT_year|SAT_year|pushpin_image|pushpin_label|pushpin_label_position|pushpin_map|pushpin_map_alt|pushpin_map_caption|pushpin_mapsize)\s*=.*\n*
I’m simply replacing it with /n
.
The problem is that in some cases it is inserting multiple new lines, see this diff. Is there an easy way to solve this?
Testcase: regexr
- Try this regex:
^\s*\|\s*(SAT|ACT|ACT_year|SAT_year|pushpin_image|pushpin_label|pushpin_label_position|pushpin_map|pushpin_map_alt|pushpin_map_caption|pushpin_mapsize)\s*=.*$\n*
With a blank replacement. Kiwipete (talk) 23:33, 13 September 2025 (UTC)
- Thanks!!! —Zackmann (Talk to me/What I been doing) 23:37, 13 September 2025 (UTC)
- @Kiwipete: doesn’t work. :-( See regexr
.com . — Zackmann (Talk to me/What I been doing) 23:43, 13 September 2025 (UTC)/8h4ea - @Zackmann08 - I've tested this myself in AWB. You have to leave the "Replace with" text box blank, i.e. don't put "\n" in it. Then you should be OK. Kiwipete (talk) 02:20, 14 September 2025 (UTC)
- Hmm. It still doesn’t work for me. It never finds the text. I wonder if it is because I’m using WP:JWB instead of WP:AWB… Oh well. Thanks! Zackmann (Talk to me/What I been doing) 03:19, 14 September 2025 (UTC)
- You need to check multi-line in the find-replace as well.Naraht (talk) 08:38, 14 September 2025 (UTC)
- Naraht that did it! Thanks - Zackmann (Talk to me/What I been doing) 18:47, 14 September 2025 (UTC)
- @Zackmann08 - I've tested this myself in AWB. You have to leave the "Replace with" text box blank, i.e. don't put "\n" in it. Then you should be OK. Kiwipete (talk) 02:20, 14 September 2025 (UTC)
- @Kiwipete: doesn’t work. :-( See regexr
- Not sure if JWB has the ability to make modules, but if so I would use
WikiFunctions.Tools.RemoveTemplateParameter
in a module. Primefac (talk) 17:27, 14 September 2025 (UTC)
Re-up email verification fix
[edit]If you are still getting authentication-challenged by the "code sent to your email" (as I was in the library yesterday) and haven't used one of the workarounds, a reminder that a fix has been checked in and I have put a snapshot build here on github. David Brooks (talk) 17:10, 18 September 2025 (UTC)
Requesting permission to AWB access
[edit]Requesting access be granted to this account? Returning user (formerly User:Renamed user e2bceb05e0c43dd19cc50e3291d6fac5. I know there is a list of users eligible to use AWB, more appripriate talk page than this one, but don't remember what it's cold. 8rz (talk) 02:16, 22 September 2025 (UTC)
- You may request access at WP:PERM/AWB. Izno (talk) 02:28, 22 September 2025 (UTC) — Preceding unsigned comment added by 8rz (talk • contribs)
- Can't edit it yet. Can you add me manually? Don't want to wait 4 days to reach established account status. 8rz (talk) 02:34, 22 September 2025 (UTC)
- Even if someone were to add you manually, it's likely you would fail due to this - "Users are rarely approved unless they have either 250 non-automated mainspace edits or 500 total mainspace edits." Kiwipete (talk) 02:51, 22 September 2025 (UTC)
- Great. That and the 30 days account age requirement... See you in a month or less, depending on the approvers' leniency. 8rz (talk) 02:55, 22 September 2025 (UTC)
- @Kiwipete, edit requirement met. Can you add me, please? 8rz (talk) 02:54, 23 September 2025 (UTC)
- No. Why can't you do it yourself? Kiwipete (talk) 02:56, 23 September 2025 (UTC)
- Cannot edit the request page because I am on a brand new account. 8rz (talk) 03:05, 23 September 2025 (UTC)
- No. Why can't you do it yourself? Kiwipete (talk) 02:56, 23 September 2025 (UTC)
- Even if someone were to add you manually, it's likely you would fail due to this - "Users are rarely approved unless they have either 250 non-automated mainspace edits or 500 total mainspace edits." Kiwipete (talk) 02:51, 22 September 2025 (UTC)
- Can't edit it yet. Can you add me manually? Don't want to wait 4 days to reach established account status. 8rz (talk) 02:34, 22 September 2025 (UTC)