Wikipedia talk:AutoWikiBrowser

From Wikipedia, the free encyclopedia

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.

Start a new discussion

Before you post

More information Do you want to ..., Please use ...
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
Close

Frequently asked questions

More information Frequently asked questions ...
Close

Discussion

Multiple login failures?

I'm not sure what is going on here, but I am not able to log into AWB. I validated that the password I put on a web browser is the same password I'm putting into AWB; however, when I logged into Wikipedia via a web browser after I made multiple "failed" attempts on AWB, I received an alert on Wikipedia stating I made multiple failed attempts to login (which only occurred with AWB). I'm not sure what is happening, but it seems that most likely, AWB is including characters I am not typing when inputting the password (like an invisible space, etc.) Is this a known issue? (For what its worth, I don't have 2FA enabled on Wikipedia and never have.) Steel1943 (talk) 02:42, 12 February 2026 (UTC)

I've just successfully logged in to AWB, both while being logged in through the browser, and while not. I also don't use, and have never used, 2FA. Are you using version 6.4.0.1? Kiwipete (talk) 05:58, 12 February 2026 (UTC)
Refer the discussion above for your 2FA solution which you will now need (although not the only option). Neils51 (talk) 20:09, 12 February 2026 (UTC)
I got it to work by typing my password in a different window and then copy/pasting it into AWB's password box. Yeah, AWB is apparently adding invisible characters in the password box for some reason when typing the password manually into the password box. Steel1943 (talk) 22:22, 12 February 2026 (UTC)
Why are you keying in the password? What's changed? Presumably you received a failure message before attempting to manually key your password so perhaps your XML file has been corrupted? Neils51 (talk) 18:08, 13 February 2026 (UTC)
@Steel1943: Just to clarify, you don't have your password saved ("No" in the "Password saved?" column in the profiles dialog), and you are entering it in the small "Enter password for Steel1943:" dialog, and you get a FAIL message? If not, did you check your email for some one-time codes? David Brooks (talk) 05:06, 14 February 2026 (UTC)
Long story short, the password worked being manually entered a day or so later. Steel1943 (talk) 06:12, 14 February 2026 (UTC)

March 2026

It's March and the same or similar problem is back. I've just been using AWB without any problems, closed it, then re-opened it but now can't login "The remote server returned and error. Too many requests.". It can't be a password problem as I was just using AWB. Looks like something else. Using latest version, everything up to date, password correct etc. Any ideas? - X201 (talk) 09:01, 13 March 2026 (UTC)

And it's working again. Did I somehow trigger some kind of login restriction and have to wait for a cool down period to expire? - X201 (talk) 09:08, 13 March 2026 (UTC)
It sounds like an HTTP 429 response, which the server returns if you are asking too much when the load is too high. I have a fix for that, but I thought one of the MW people put in a workaround for AWB at the same time. In any case, you can get a build from the latest tree at https://github.com/DavidWBrooks/UnofficialAWB/releases/latest.
tl;dr The response (and some other possible responses) is accompanied by a Retry-After header, which the fix honors. It's usually one second, but under some circumstances can be much higher. You will see the usual countdown in the status bar. David Brooks (talk) 20:16, 13 March 2026 (UTC)
mw:MediaWiki_Product_Insights/Responsible_Reuse/WE5.1:_Developer_authentication_and_authorization#Timeline shows that the team is rolling out rate restrictions over time, although I don't know which category AWB falls in here. David Brooks (talk) 20:56, 13 March 2026 (UTC)

Talk page general fixes moves various templates toward the bottom against WP:TALKORDER

I first reported this last summer, but recently I have added to the phab ticket to have a more complete list of talk page templates that are moved down (or kept down) by AWB. Basically I have discovered ~14 templates that are supposed to be ordered somewhere above the list of WikiProjects but AWB errantly thinks they should be below them somewhere. A couple examples of what's being moved down are {{Contentious topics/talk notice}} and {{old move}}. When these templates are incorrectly moved, it adds time to the talk page cleanup process to manually move templates back where they belong. Can this be looked at by someone? I'm not in a big rush to see a fix, but I figured I would make AWB developers more aware, especially after I've added information to the ticket. Thanks! Stefen 𝕋ower HuddleHandiwerk 20:46, 13 March 2026 (UTC)

API rate limit with Tools.GetHTML()

Due to recently constrained API rate limits, I hit the limit after only 500 pages using Tools.GetHTML() (for details see mw:Talk:Wikimedia APIs/Rate limits#Script-using humans are not bots). My typical API request is https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Lakwena_Maciver&rvslots=*&rvprop=content&format=php&maxlag=1. I assumed that AWB would handle the necessary background handshakes, tokens, etc., but it seems like the GetHTML request is being treated as an unregistered account, and not originating from my login. But the rate limit is being applied to my IP address, meaning that if I log in on my bot account, I am immediately limited without having performed any requests. Do I need to get a token and append it to the URL? Or something else? I've been doing it this way for over a decade and haven't had a problem until now.   ~ Tom.Reding (talkdgaf)  13:24, 15 March 2026 (UTC)

What I gathered from mw:API:Action API is that I need to:
  1. get a centralauthtoken using Tools.GetHTML(https://en.wikipedia.org/w/api.php?action=centralauthtoken&format=json)
  2. copy the token
  3. paste it into the quest URI Tools.GetHTML(https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Lakwena_Maciver&rvslots=*&rvprop=content&format=php&maxlag=1&centralauthtoken=83dc906edff323dd39e5f258784e95dc2ea7b2)
Since tokens evaporate after 10 seconds or on 1st use, I now hit the request limit twice as fast, since each prior quest now requires an additional token request. This seems self-defeating, given that the point of all of this is to cut down on abusive API requests...
Can someone explain this to me like I'm 5 please?   ~ Tom.Reding (talkdgaf)  15:08, 15 March 2026 (UTC)
Are you able to trace the HTTP transactions, for example by using a proxy (I use Fiddler2)? If so, can you see if the failing request gives a response code of 429 with an accompanying Retry-After header? That is, according to my understanding, how the rate-limiting is getting surfaced, and I've implemented the retries in the main AWB loop (where it will probably only happen in a bot anyway) and in list generation. That's in my private releases. I realized that they weren't necessarily all the places where an HTTP request is generated, though, and it's going to be like whack-a-mole. I'm traveling, online sporadically, but (if you confirm you are getting 429 responses) I'll look at that Tools interface and see what I can see. David Brooks (talk) 22:00, 15 March 2026 (UTC)
Taking this to email. David Brooks (talk) 11:42, 16 March 2026 (UTC)

Related Articles

Wikiwand AI