This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the
current talk page.
I rcently discussed AWB General Fixes (Genfixes) removing spaces before HTML (i.e. invisible) comments with
Neils51 on his
talk page. We agreed to disagree. If I understand Neils51 (an expert on AWB) right, he seems to believe that Genfixes in this case does a valid edit, while I (a lesser editor) believe it does wrong. He nevertheless suggested I should discuss it here to obtain consensus.
Genfixes seems to automatically remove all spaces placed immediately before HTML comments. It seems to assume that spaces before such comments result in unwanted white-space. Indeed
MOS:COMMENT advises to check for unwanted whitespace when adding HTML comments. This may happen under some circumstances but not always.
Help:Whitespace (I thank
User:1TWO3Writer, who pointed me to this page) recommends to avoid all whitespace (in particular spaces) before an HTML comment. It looks as if Genspaces implements that recommendation, but as a HELP is not MOS, this is compulsory.
<ref name=Corp2004a766lc38> <!-- Anthony Hamilton, ODNB -->
Running Genfixes changed this to:
<ref name=Corp2004a766lc38><!-- Anthony Hamilton, ODNB -->
removing the space. I find that this edit makes the code less readable. The space does not create an unwanted whitespace in the text.
WP:AWBRULES prescribes "You are expected to review every edit, just as if you were making an edit using Wikipedia's edit form when editing by hand." Edits made with Genfixes are not excepted nor are edits that do not impact on the text ("cosmetic" or "inconsequential" edits). I believe that according to the AWB rules this edit should not be made. Best would be when Genfixes would make such fixes only if they introduce unwanted whitespace. Second best is that the AWB-operator undoes such fixes. Besides, Genfixes also has a bug "Genfixes removes comma from quoted date", which was logged on Phabricator as T236729 by
Tom.Reading on 28 October 2019. It also results in edits that should be reverted by the AWB operator. With thanks and best regards,
Johannes Schade (
talk)
17:28, 22 August 2023 (UTC)
Based on a quick experiment, I think removing the space is not necessarily harmless. If the HTML comment is not immediately followed by a space but some plain text, this genfix will remove a, often syntactically important, space.
David Brooks (
talk)
19:27, 22 August 2023 (UTC)
@
IJohnKennady: Hi. I'm not sure if you are asking that: only the accounts with a bot flag (which are listed in "enabledbots" section of the Wikipedia:AutoWikiBrowser/CheckPageJSON) get the bot menu/options. —usernamekiran
(talk)21:18, 25 August 2023 (UTC)
Hello, I was unsure about reporting this as a bug because that felt a little presumptuous. I just tried clicking on the "False" button, but the False positives.txt file was never created (yes, I'm checking it in the same directory where AutoWikiBrowser.exe is located). I even tried creating it "manually" so see if AWB would update it, to no avail.
Victor LopesFala!•
C20:06, 14 September 2023 (UTC)
If I run the same input through AWB, it gives me well over a thousand results. I can see that I'm typing something wrong, but I don't know what?
Rjjiii(
talk)
07:20, 12 September 2023 (UTC)
Personal opinion. I never use AWB search, because it can return weird results. For example, I get more than once some results for particular search in all namespaces, and much more results if constraining the same search for the articles only.
IKhitron (
talk)
19:58, 13 September 2023 (UTC)
A quick trace suggests that AWB is submitting two different search queries, with the vertical bar inappropriately treated as a separator (which also results in unbalanced quote marks). The second therefore searches for 3}}{{legend" and returns every page with both the number 3 and the word legend, the braces being treated as grayspace. I don't know why the first part returns no hits. I suspect insource:/\{\{refbegin\|3}}\{\{legend/ would work, although you seem to have fixed the 96 by now.
David Brooks (
talk)
02:44, 16 September 2023 (UTC)
Many thanks to both of you. I discovered that JWB took the search query at face value and was able to resolve my issue that way.
Rjjiii(
talk)
03:04, 16 September 2023 (UTC)
BTW, even if this is fixed, note that grayspace handling in wiki search means that your search string could just as well been insource:"#refbegin#3#legend". Use the (slow) RE version for precision.
David Brooks (
talk)
18:58, 17 September 2023 (UTC)
Using the tool
Hello,
I recently found out I no longer use AutoWikiBrowser when 2FA is active by receiving an error, "Failed". When I turned it off, there was no problem. But, to use AWB, must I deactivate the 2FA? Or there is something I am missing. --Victor Trevor (
talk)
12:17, 18 September 2023 (UTC)
I think this is a fantastic tool for doing repetitive work across hundreds to thousands of articles. My most recent use is in the area of re-stubbing articles so that specific stub categories can be reduced in size, replaced by "manageable" sized categories. Without this tool, many mass-action stub-related and category-related edits would be nigh on impossible. There should be some recognition of this tool for its utility. Thank you. --User:Ceyockey (talk to me)
01:08, 27 September 2023 (UTC)
Maybe I've been reading the instructions wrong, but after I create a list, configured all the options and click start, nothing happens except for the text on the bottom left corner which says "Restarting in n" (n is a changing number). Is there anything wrong with what I'm doing? 141Pr {
contribs}07:29, 23 September 2023 (UTC)
I can log back in successfully, and I can access the internet, which means that I have a working internet connection. It still does this though. Could it be to do with VirtualBox? (I'm working from my Mac, I should've said that earlier) I have put a screenshot here. 141Pr {
contribs}13:13, 23 September 2023 (UTC)
Might need comment from someone with a MAC who has this combination working. I'll just throw in; .NET, firewall, port forwarding... for fun.
Neils51 (
talk)
10:11, 24 September 2023 (UTC)
Just a shot in the dark, but this is reminiscent of late 2019 when the wikipedia servers started requiring TLS 1.2 (or better) for API connections, and that needed an obscure setting (at least in my software) to change the default security protocol setting in .NET 4.5. Is it possible the Mac network stack is still ending up using a pre-TLS 1.2 protocol? (forgive the flagrant hand-waving.) Can you use a debugging proxy and inspect the first AWB connection to the servers?
David Brooks (
talk)
00:37, 25 September 2023 (UTC)
There seem to be issues with certain permutations. Need version info. MacOS, 13.x?, VirtualBox, 7.xx?, Windows? Familiar with Wireshark?
Neils51 (
talk)
11:27, 29 September 2023 (UTC)
Can AWB do... ?
I've been back to using AWB after a long absence, and it continues to work great. I was wondering though if the current software can do the following things or can be modified with a module or plugin to do them:
Skip a specific named typo check (I manually skip ones I don't feel comfortable with, but not showing them to me in the first place would speed up my typo checking a lot).
Set watchlist expiry upon on saving an edit (I'd like to watch articles I edit for a few days like I can do using a script when editing on the Wikipedia website).
@
StefenTower: for #1, you can take the regex(s) of the rule(s) you wish to avoid, and put them (carefully) into AWB's skip-if-contains field, or create separate find-and-replace rules for them, then pre-parse your master list to find only those few pages changed, then remove them from your master list.
I tried starting AutoWikiBrowser on my computer but my antivirus blocked it with the message "Virus detected W32/Exploit.gen". Does my antivirus software suffer from paranoia or is it a problem with the latest release of AutoWikiBrowser?
Hubba (
talk)
12:01, 13 October 2023 (UTC)
@
Hubba: AWB version 6.2.1.0 was released over two years ago, and doesn't generate any antivirus messages for me. I suggest whitelisting AWB with your antivirus software.
GoingBatty (
talk)
14:02, 13 October 2023 (UTC)
AWB is Broken
So I keep getting a network error "The request was aborted: Could not create SSL/TLS secure channel" Any clue why it's doing this?
Re: some of the responses so far, in all fairness, this is the home of AWB. On the other hand, initially mentioning the platform it is being used on would have moved the matter more expeditiously. At any rate, my question is... Have you used it on Fandom successfully before, and thus is this a new issue, or is this a first-time use? If it's first-time use, I'd check to see if you've jumped through the hoops Fandom has set up for its use there.
Stefen Towers among the rest!Gab •
Gruntwerk02:30, 11 October 2023 (UTC)
To answer both sets of questions in order: I am using it on the Digimon Wiki, my account is in the link, at least two of my fellow admins use it, and I was using it for a while after some initial trouble starting.
2601:5CB:C080:18D0:485B:53CB:3DC6:EF03 (
talk)
03:21, 11 October 2023 (UTC)
One admittedly unlikely circumstance that could cause the breakage would be (a) you are using a fairly old version of AWB (b) the wiki was recently upgraded to require TLS1.2 level encryption. That's if you are using Windows. If you are on a Mac, see above for a possibly different cause, still unresolved.
David Brooks (
talk) 14:02, 11 October 2023 (UTC) ETA: AWB and OS versions, and Mediawiki version if you know it, are always useful.
David Brooks (
talk)
14:27, 11 October 2023 (UTC)
I thought I had the most recent one, I just downloaded it less than a month ago, I’m on Windows 7 but only because there’s not much point shelling out for like Windows 10 when it’d be cheaper to just get a new computer.
2601:5CB:C080:18D0:ED4B:2AB7:A9BF:3D4E (
talk)
19:29, 11 October 2023 (UTC)
At any rate, it seems to me that the TLS-related problem you're experiencing would be the same if you were using AWB on Wikipedia or any Wikimedia project, as they require TLS 1.2. So, this likely boils down to some difference between you and your fellow admins about how you're connecting, through some kind of on-site management, or perhaps some really old equipment (particularly regarding the age of firmware inside them) being utilized in the line of connection.
Stefen Towers among the rest!Gab •
Gruntwerk00:34, 12 October 2023 (UTC)
I'm not sure that fix would be relevant. The doc says "This update will not change the behavior of applications that are manually setting the secure protocols instead of passing the default flag." AWB current source sets the protocols in all (I think) the appropriate places: ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;David Brooks (
talk)
03:12, 12 October 2023 (UTC)
That sounds reasonable and certainly lowers the odds of their Window 7 setup being the problem. But if nothing else can be found to have caused the issue, I don't think it would hurt to update their Windows 7.
Stefen Towers among the rest!Gab •
Gruntwerk03:40, 12 October 2023 (UTC)
So you were, "using it for a while after some initial trouble starting" and with respect to AWB, "I just downloaded it less than a month ago". Therefore is the current version of AWB the only version you have ever used? Does your "using it for a while" mean less than a month? How often do you reboot your Win7? When you say that "I just updated earlier tonight", does that mean you installed SP1, or have you always had SP1 installed? Something changed. If you didn’t install software and no other change occurred then I would have suggested rebooting your router/network equipment and/or Win7. Sometimes reviewing your system logs at/or around the time you first experienced the error can help.
Neils51 (
talk)
07:45, 12 October 2023 (UTC)
Have you tried connecting through a different network? Either something changed in your line of connection or Fandom made a change that not all client computers can tolerate, likely related to the error message you received. Ultimately, you may have to contact Fandom to sort this out. We have no way to see how you're connecting but they do.
Stefen Towers among the rest!Gab •
Gruntwerk04:45, 15 October 2023 (UTC)
I decided to compare the speed of a find-and-replace rule with the identical rule in C#, both run on
German Empire, thinking C# would be somewhat faster. I've found the exact opposite, however.
with "Regular expression" checkbox checked, the others unchecked, "Apply No. of times" = 1, and nothing in the "If" tab, took an average of 64.75s to run over 4 runs (66, 65, 64, 64s).
The following C# module code, however, has been running (hanging), for over 30 minutes:
For the record, I can reproduce this result: on my Surface 7, 46 seconds for the find/replace method, and still hanging after 3 minutes for the module code. But the C# method took me 44 seconds in a code snippet independent of any AWB context so, as you probably suspect, there's something odd in the way the module is processed.
David Brooks (
talk)
18:52, 26 October 2023 (UTC)
Well, I ran it under the debugger and now I'm even more confused.
First, the debugger (apparently) decompiles the module code and it turns out it's been optimized (e.g. the last two lines are coalesced, and the @"" version appears as a regular string with escaped \'s). Your version hangs on the assignment of string regex, not on executing the Regex.Replace. Hm, is it too long for either the compiler or the framework? So I chunked the long string and used concatenated literals... and now the string assignment goes through but the regex replace call now hangs. Using String.Concat is optimized to the same thing. Using StringBuilder to join the chunks also hangs in the conversion to a string. Creating a Regex object from the long string doesn't help. Not a solution to your problem, I'm afraid, but just more puzzles.
Maybe it's a C# 3.5 thing, but the decompiled code looks correct. BTW it's my local build of AWB using Framework 4.8.1 (so it's not a 4.5 problem).
David Brooks (
talk)
20:58, 27 October 2023 (UTC)
For those who, like me, found the above conclusion barely credible, I dug a little deeper into the low level code. Turns out that the compiler optimizes out the assignment to ArticleText, but the JITter optimizes out the assignment to the regex string and drops the string directly into the Replace call, which of course contains the hang. It looks like the VS debugger isn't too good at following run-time compiled code. So now I'm beginning to suspect that the fault lies in the version of the assembly (System.Text.RegularExpressions.dll) that contains the Regex class. It's possible, I suppose, that the compiled code binds to an older version of the Framework and that is responsible for the hang, while the find/replace version uses the runtime (Fx 4.5) built into AWB, but here we're at about the limit of where I can figure out runtime CLR bindage. In any case, there may not be a ready solution that AWB could implement. BTW, I did try hacking the source to use v4 of the language, but that didn't help.
David Brooks (
talk)
14:37, 29 October 2023 (UTC)
If a regular expression takes more than a couple of seconds to run on wp-article lengths of text then it will be due to
catastrophic batcktracking. That's not an issue with AWB or C#, it is a fundamental limitation of how regular expressions work. Backtracking can sometimes be resolved in 10s of seconds or minutes, but it could take years on a sufficiently long input string (as it's an exponential issue). I can't really make sense of the large regex expression given, what I'd suggest to do is separate it into smaller parts and identify which clause or clauses are backtracking, then see if you can adjust them to avoid the issue.
If you are able to write a module you will probably find it is faster to find candidate text with simple regexes, then do your negative checks/exclusions on only those strings of text matched, and proceed to replace if no exclusions found i.e. breaking things down rather than one very large find/replace with lookaheads etc. That way any backtracking is limited to a very short string not the whole text of a wp article etc.
Rjwilmsi18:23, 29 October 2023 (UTC)
Yes, but if it is timing out due to backtracking, wouldn't that also apply to the identical RE presented in the Advanced Find/Replace dialog? That does finish in under a minute for Tom and me. BTW, on a rainy Sunday I managed to hack AWB so that the run-time compile would use the same compiler (and System.dll) as I used to build the executable itself, in case there was some inconsistency in the details of string management, but no help.
David Brooks (
talk)
20:06, 29 October 2023 (UTC)
Well, I noodled on this and found a fix. But (a) It's a source code fix; I haven't yet figured out whether the RE can be tweaked to compensate (b) I have no idea why it makes a difference (c) I have no idea if it would introduce regressions. Code in
T350636.
tl;dr: during page pre-processing, AWB normalizes line endings from \r\n to \n before running the rule, but not before running the module (which comes first). Making that normalization happen before running the module restores the expected 40-50 second runtime.
David Brooks (
talk)
22:57, 6 November 2023 (UTC)
Could you, kindly, use a bot to make all "Provinces of..." into "provinces of..." (with a lowercase initial)? It is correct in lowercase, almost all sources, whether in Italian, French or other languages write "provinces" with a lowercase initial. To make it clearer, as in the "
Province of Pordenone" page and not as in the "
Province of Rovigo" page. Thanks in advance.
JackkBrown (
talk)
14:44, 7 November 2023 (UTC)
Hi, on this page,
Wikipedia:Vital_articles/Level/5/History, I am trying to put the events prior to 1945 in the late modern section and the events after 1945 in the Contemporary section. I was hoping that someone can provide me with step-by-step instructions on how I can sort the events using AWB. Thank you.
Interstellarity (
talk)
14:20, 8 November 2023 (UTC)
This does not look like a job for AWB. The information is simply not on the page: good luck guessing which section
Great Recession goes in without reading the article. Perhaps you could split Modern and Contemporary into separate sandboxes, use a tool such as PetScan or Quarry to see which pages linked from each sandbox have a Category: containing four digits that are a year in the wrong era (beware: "Category:1940s whatever" may be either) and move them by hand. Theoretically, a complex AWB module might be able to do this; in practice even the ablest programmer could do it much quicker manually.
Certes (
talk)
09:48, 9 November 2023 (UTC)
Auto saving changes to multiple pages
Hi. I'm trying to edit some repetitive text out of some files on Wikimedia Commons. Unfortunately there's thousands of instances of it. So I'm going through individual folders to edit each file which I don't necessarily have a problem with, but if I load all the files into the pages list and click save it only edits a single file at a time. So is there a way to batch save the edit to all the files in the list without having to click save thousands of times? Otherwise I'm going to have to click save 65,000 time, which I rather not do if I can just do all the edits at once. Thanks.
Adamant1 (
talk)
03:01, 10 November 2023 (UTC)
@
Adamant1: Hi there! You could consider creating a bot. Instead of clicking save each time, you'd load the list and the bot would click save once every 10 seconds based on the rules you set up in AWB.
GoingBatty (
talk)
05:11, 10 November 2023 (UTC)
There are people with bots who will often accept requests, handle the coding, approval process, testing, etc., if you have a well-formed proposal such as a tested AWB setup. Go to
WP:BOTREQ.
Dicklyon (
talk)
19:13, 10 November 2023 (UTC)
Apparently, in
this edit, AWB moved the "hatnote group" shell below the actual hatnotes (rather than surrounding them), leaving an error message on the page. Can this be fixed to avoid repetition?
BD2412T01:31, 14 November 2023 (UTC)
@
ToadetteEdit: Using AWB makes it easy to vandalize a large number of pages very quickly. Requesting permission gives the admins the ability to look at a user's contribution history and confirm they're here to build an encyclopedia before granting access.
GoingBatty (
talk)
16:52, 17 November 2023 (UTC)
I find it weird that AWB releases seem to be done in giant versions, rather than small updates automatically pushed out. The latter seems the more modern approach. {{u|Sdkb}}talk18:00, 5 October 2023 (UTC)
Effectively yes. I can do local builds but on my setup (MonoDevelop/Linux) I can't do a full clean build as Reedy has updated the AWB solution to use C# reference libraries etc. that MonoDevelop can't (yet) handle. Also the AWB release process requires changes to admin-protected pages to update release versions. If Reedy doesn't respond then I suppose I'll have to get Visual Studio set up on a spare Windows machine so I can do a full build and then hopefully we can find another admin to get the AWB version page updated.
Rjwilmsi18:27, 29 October 2023 (UTC)
This certainly points to a systemic issue. AWB ideally should be converted to an online tool (rather than a program you have to download) that can be updated constantly whenever there is a fix needed. {{u|Sdkb}}talk19:21, 29 October 2023 (UTC)
It would be nice if we can figure out a way to share build duties at least, and have more regular releases. I'm a former software developer and would like to see if I can build it, but only if all the required tools are free. That is, is Visual Studio Community enough for the task?
Stefen Towers among the rest!Gab •
Gruntwerk00:41, 18 November 2023 (UTC)
I'm also a software developer, but Java rather than C#. Regardless, I'm trying to follow the instructions
here. After getting through Microsoft's gross privacy-invading processes to download an old version of Visual Studio, I now have it installed. (It was by comparison much easier to install TortoiseSVN.) I've now started VS and opened the AWB project, but I don't know what this instruction means - "When the IDE has loaded, select release rather than debug (next to the green forward arrow).". If anyone can enlighten me, that would be much appreciated. Cheers,
Kiwipete (
talk)
02:48, 18 November 2023 (UTC)
We really should have automatic detection of past TfDs for discussions like this. If the arguments from the previous discussion had been raised I wouldn't have been surprised if it had been kept. --
Trialpears (
talk)
02:18, 20 December 2023 (UTC)
...Speaking of which, I totally forgot that I was the nominator for the previous discussion that looks like took place 7 years ago. Can't speak for the current
WP:CCC situation though.
Steel1943 (
talk)
19:02, 20 December 2023 (UTC)
Request feature: Make list of user file uploads or user created articles
In the current version of AWB 6.2.1.0, I do find Make List of "User contribs", which is nice.
But for Wikimedia Commons a "User uploads", and for Wikipedia a "User created" would be extremely handy options to alow to get the list of files uploaded by a user, or pages created... This functionality seems to be missing? I assume it could very easily added?
Geertivp (
talk)
19:33, 29 December 2023 (UTC)
@
Geertivp: Hi there! You can use the "filing a new task" link above to request a feature in AWB. Note that there hasn't been a new official release in over two years, so you may want to seek out alternate solutions while you're waiting.
GoingBatty (
talk)
21:48, 29 December 2023 (UTC)
Sorry, can you be more explicit? I don't see a new "filing a new task" link, or "feature request button" on this page?
Geertivp (
talk)
00:04, 30 December 2023 (UTC)
The "Filing a new task" link is in the first box under the Before you post section. When you land on the phabricator "New Generic Task" page there are links to the Feature Request form (I don't think there's a button).
David Brooks (
talk)
02:42, 30 December 2023 (UTC)
I've been trying to think of a way you can generate a list that can be then fed into AWB. The best I could find, so far, is using
this tool to generate a list of pages you created, with "View as wikitext" checked. Then copy and paste all that into a text editor to whittle down to a raw list. If you need pointers on how to do that part, I can help there too.
Stefen Towers among the rest!Gab •
Gruntwerk20:15, 30 December 2023 (UTC)
You can also save that
Pages Created tool's wikitext list somewhere, e.g. to
Special:MyPage/my articles, then you can use PetScan to get a raw list of those links:
[2] 1) change User:Me/sandbox in the Templates&links tab to your list's location, 2) check Plain text in the Output tab, 3) click "Do it!" and 4) Ctrl+A and Ctrl+C on that page. This same method also works for file uploads; you only have to change to the file namespace in that Pages Created tool and in the "Page properties" tab in PetScan. If the assessment symbols like
File:Symbol question.svg in your list bother you, you can break the links by changing File:Symbol to something like File Symbol with any text editor's search and replace tool or with the edit toolbar's
Search and Replace function. --
JAAqqO (
talk)
21:40, 30 December 2023 (UTC)
Thanks for your updates, related to Xtools. One could as well copy/paste the table into Excel "as unformatted text" (Ctrl-Shift-V). Then you don't need to remove the markup manually...
Geertivp (
talk)
09:57, 31 December 2023 (UTC)
How do I find typos depending on the English variation?
One thing with New Zealand Wikipedia is that it is incredibly common for articles to be filled with American spellings, eg "color" vs "colour". I'd like to find these typos by searching for the {{Use New Zealand English}} template and a typo, eg "color". How would I do this? I'm unsure how people search for things, and I'm unsure how to plug these search results into AWB. —Panamitsu(talk)03:20, 19 December 2023 (UTC)
@
Panamitsu: One way you could do this is make a list or articles where the source is "What transcludes page" with "Template:Use New Zealand English", which brings up 21301. You could then add some find and replace rules such as color --> colour, and click the "Skip if no replacement" box. Hope this helps, and happy editing!
GoingBatty (
talk)
03:57, 19 December 2023 (UTC)
Is there a way to have over 25,000 search results? These queries appear to have a maximum of 25,000 and I'd like to move onto the "next page" of results. Is this possible? —Panamitsu(talk)22:58, 1 January 2024 (UTC)
Not as such, but you can search for hastemplate:"Use New Zealand English" prefix:A to get a manageable number of results then repeat with Prefix:B, etc.
Certes (
talk)
23:36, 1 January 2024 (UTC)
Make sure you exclude text in references as these may be American articles where color is the "correct" spelling for the reference title or text. Ditto names and deliberate spelling errors. -
X201 (
talk)
08:29, 19 December 2023 (UTC)
I'd like to discuss this here before creating something on Fabricator. In doing work deleting infobox parameters and their data, sometimes the replacement of the entire line deletes a named ref with its information, thus causing the deletion to mess up the other usages of this named ref. Would it be possible for AWB to look for this in the changed result and either alert or move the ref to the next occurance of the named ref?
Naraht (
talk)
16:28, 31 December 2023 (UTC)
Have you tried adjusting your search or your find/replace expression so that it excludes parameters with named references in their values? –
Jonesey95 (
talk)
18:01, 31 December 2023 (UTC)
I've tried various tweeks, would appreciate ideas. Consider the following examples as to whether or not they should be deleted (parameter to be deleted is mission)
mission=foo OK to delete
mission=bar<ref>important</ref> OK to delete
mission=baz<ref name=ref1>important</ref><ref name=ref2/> Generally not OK to delete, but is OK to delete if <ref name = ref1/> does not occur elsewhere in the article.
@
Naraht: you can use this regex to ignore parameters with a reference definition ~
\|\s*mission\s*=\s*(?![^\{\|}]*<\s*ref\s+name\s*=\s*[^<>/]+>)(?# append parameter removal regex here )
The important bit is inside the
negative lookahead(?!...), and most importantly the / inside the negation set [^<>/]+, which allows <ref name=ref2/> to pass (via a double negative), but avoids <ref name=ref1>. ~Tom.Reding (
talk ⋅
dgaf)10:20, 1 January 2024 (UTC)
Tom.Reding Two question here. What is the "Append parameter removal regex here" and how does this distinguish as to whether a <ref name=ref1/> occurs later in the article?
Naraht (
talk)
15:58, 1 January 2024 (UTC)
@
Naraht: I assume(d) you have some of your own regex to remove the parameter (and nothing but the parameter). If you do, that's where it would go.
My regex example doesn't look up nor down the page for other instances of the named ref. That's more complicated to do safely & reliably, and better suited for a
custom module, as opposed to a simple line of regex. ~Tom.Reding (
talk ⋅
dgaf)16:06, 1 January 2024 (UTC)
Tom.Reding The regex is for the find and replace and replaces various combinations with pipe on both ends with a pipe. Part of the issue is that infoboxes allow for the pipe to either be before or after a parameter line as long as there is one pipe between each, so I'm looking at various combinations of multi-line matching. I'm also not sure what the ?# is. And if the check for the ref name being farther up or down isn't possible to include, I'm probably better off simply looking at the AWB difference and skipping the problematic ones.
Additionally, this is the problem, I *think* that if a non named reference containing a cite or other template in it prior to the named ref occured it wouldn't handle it correctly, but that's all due to the fact that calculating the "level" that something occurs at can be very difficult (inside a template down one level, inside a cite inside a template down two levels, etc.)
In terms of the Custom Module, how difficult would it be for AWB to be able to tell that the resulting page from a save would generate the "Cite error: The named reference bensmith was invoked but never defined" that would occur if a the named ref bensmith was removed? I found to my surprise this doesn't occur in userspace, but I think *something* could be done. (It might even be able to check before and after to indicate if the changes caused the "invoked by but never defined"
@
Naraht: there is a 'Preview' button which will show that cite error in the references, but that's a manual operation. If there's a way to grab that rendered Preview output in the custom module, then you could certainly search for the error. I don't know if it's possible to do that currently, but it would be useful. ~Tom.Reding (
talk ⋅
dgaf)12:40, 2 January 2024 (UTC)
It's interesting to know this exists, but AutoWikiBrowser users should not have to be using unofficial releases in order to avoid major problems like
the hatnote grouping error. And I worry that, to whatever extent this serves as a band-aid for such problems, it's also obscuring the gaping wound of an issue that AWB has only sporadic major updates rather than regular fixes (or an online portal that gets updated automatically) and
bus problem-level dependency to issue a major update. We urgently need to solve that underlying problem. Until that happens, band-aids like this risk doing as much harm (through obscuring that problem) as good. {{u|Sdkb}}talk18:35, 16 January 2024 (UTC)
Glad to see it! I hope that we now turn our attention toward the underlying problem rather than waiting for the next crisis to come around. {{u|Sdkb}}talk21:53, 16 January 2024 (UTC)
I'd like to be clear what you mean by the underlying problem: do you mean the delay in releasing after a significant update? If so, "we" is the maintainers (I'm guessing specifically
Reedy, yes?) That said, I'll leave my github project active, but not update it unless another crisis does arise.
David Brooks (
talk)
04:38, 17 January 2024 (UTC)
@
David Brooks, I'm not a software engineer, so my understanding is a bit limited. But as best I understand it, I see the underlying problem as the difficulty of pushing out small updates. Most tools these days are web-based, not programs that run on your computer, so updating them only requires the developers to change the website code rather than ask users to download anything. And most don't have big version releases, but rather small tweaks pushed out all the time as soon as they're ready. Most also have enough maintainers that there isn't ever a bottleneck around a single user who, as a volunteer, has no obligation (and should have no obligation) to show up. We shouldn't ever be in a situation where a problem gets noticed and reported dozens of times, and a fix coded months ago, but it never gets pushed out because that requires waiting on someone to make the next big release. {{u|Sdkb}}talk05:44, 17 January 2024 (UTC)
There are several ways to think about this. A pure push version, like an app store or Windows Update, would require serious investment in upstream infrastructure as well as client-side changes. Won't happen. It might be easier to code a menu option "check for updates" and/or a popup "a new update is available; download?", but that too would require some additional upstream infrastructure, a self-installer, and possibly restrictions on where you could install it. Interesting to design, and perhaps you could copy from models like Notepad++, but not a simple fix. Why are you looking at me like that? I retired from Microsoft over 7 years ago.
That said, the evidence from the long cadence between official releases suggests that even the verification, packaging, and uploading to sourceforge are not the highest priority for the maintainers, although
reedy should have the chance to comment.
David Brooks (
talk)
16:16, 17 January 2024 (UTC)
AWB has had an updater for years, in fact, since 2007 (and IIRC, I did most of the implementation). And it's not massively dissimilar to the Notepad++ one either.
Rewriting it as a web app is very much a non trivial task either. There's been one or two attempts, but AFAIK, haven't got very far. And AWB dates back to 2005, when web apps like this was very uncommon too. So it wouldn't have made sense at the time, and as it's a volunteer project, these things are implemented in whatever language/framework/platform the developer(s) are comfortable in.
The middle ground is moving config onto wiki pages (or similar), which results in things like
Wikipedia:AutoWikiBrowser/Config. But again, it's not trivial either, especially for more complex logic. Regexes and lists are one thing. Blocks of code are another. Maybe we could just load code files from wiki, and execute them on the fly, it's not much different to CustomModules. But a great chance of users introducing bugs, security issues etc.
A problem we have here is that like many things on Wikipedia, peoples personal itches and their percieved "this is the worst thing in the world" makes it hard to work out what actually is necessary and needs doing. If AWB was causing terror across many projects, or even just enwiki, action would've been taken, and it would've been blocked. And I suspect someone would've probably then poked me from the WMF side asking nicely for me to resolve it.
Reedy (
talk)
17:27, 17 January 2024 (UTC)
Thanks for the complete response. I remember now AWBUpdater exists; I've installed it often enough. Serve me right for posting too early in the morning. But it doesn't seem to work: I ran the 6.2.1.0 version and Help/Check for Updates claims "No update available".
David Brooks (
talk)
18:32, 17 January 2024 (UTC)
And I just loaded it and built it cleanly in Visual Studio 2022 without a forced upgrade to Framework 4.8. It looks like Microsoft relented on that. Can someone else confirm before I back out my build instructions?
David Brooks (
talk)
04:45, 17 January 2024 (UTC)
I realize that works; I was referring to the
instructions for downloading the source and building it. Until recently the current version of Visual Studio would not build a clean copy because reasons, and now Microsoft seems to have relented on that restriction. If I'm the only person here doing this, I'll regard my experience as definitive and revert the instructions I put in place to explain the workaround.
David Brooks (
talk)
16:06, 17 January 2024 (UTC)
Oh, I wasn't criticizing your decision, and anyway it makes (made) sense not to require users to get Network 4.8. I was just helping any possible source downloaders with only VS2022 installed, on the basis of my own experience.
David Brooks (
talk)
18:36, 17 January 2024 (UTC)
Although I'm still trying to get over my embarrassment at forgetting AWBUpdater, may I make a modest proposal? I do find apps like Notepad++ and others annoying with their frequent "do you want to update?" popups when all I want to do is edit this file, dammit (although, rarely, some apps make it mandatory because of upstream changes). Visual Studio itself has a little flag that offers to update in the background when you eventually exit the app, which is nicer. But I do understand that offering frequent updates to general AWB users is unnecessary.
An alternative, particularly for users who need a particular itch scratched, would be a beta channel. After all, I offered a version of that above. A more frequent propagation of a stable build, accompanied by a list of recent revisions' comments, downloaded on demand from an alternate trusted source either manually or using a gently modified AWBUpdater.
Stop removing |blp=no. This is a valid value for the blp parameter as we are now moving the |living= parameter from {{WikiProject Biography}} into the banner shell. This is needed for dead people, otherwise the
Category:Biography articles without living parameter tracking category will be triggered.
Do not add explicit call to first unnamed parameter. We had a discussion about this recently and people felt there is no benefit to the |1=.
Adds {{WikiProject banner shell}} if 3 or moreany WikiProject templates are found. Now the primary way of assessing an article is using the banner shell, so all articles should have a banner shell, regardless of the number of WikiProject templates.
Hi, to add to this, should also move "Remove diacritics from |listas=" from WikiProject Biography section to the banner shell section and move the parameter itself as part of the fixes. Plus, ideally should also remove |living= from WikiProject Biography and explicitly set |blp= in the banner shell based on it's value. If no objections to any of this, can then file something on Phabricator. Thanks. -
Kj cheetham (
talk)
14:53, 10 February 2024 (UTC)
Using article name (or a part of it) in Find and Replace
The task here is for all fraternity and sorority list articles to have the listas parameter added if they don't have one. So in Talk:List of Omicron Nu chapters , replace {{WikiProject Fraternities and Sororities| with {{WikiProject Fraternities and Sororities|listas=Omicron Nu chapters. I can grab all of the ones that I want in Category:List-Class Fraternities and Sororities articles, and skip any that already have listas. But given that the listas depends on the title, any ideas on using the article title here?
Naraht (
talk)
20:20, 17 February 2024 (UTC)
StefenTower Just inserted the string {{ARTICLEPAGENAME}} (using nowiki for here, did *not* include that in the advanced find and replace) did *not* evaluate.
Naraht (
talk)
21:59, 17 February 2024 (UTC)
Primefac, While the change to the redirected template doesn't have a particular advantage, I believe setting the list of other templates being specifically set to 1= makes the overall bannershell template less likely to have problems with other edits.
Naraht (
talk)
14:17, 18 February 2024 (UTC)
I'm finding and replacing "parking metre" - an incorrect spelling of "parking meter". When I use wiki search (text) and enter "parking metre" the search finds spellings with both "parking meter" and "parking metre", which I do not want. I only want to find the spellings errors. How do I prevent it from showing both spellings? —Panamitsu(talk)10:01, 24 February 2024 (UTC)
Actually British English distinguishes between "meter and "metre". A meter is something that measures something (speedometer, parking meter, etc), so "parking metre" is also incorrect in the Commonwealth. —Panamitsu(talk)11:29, 24 February 2024 (UTC)
Actually parking insource:/[pP]arking [mM]etre/ gives me one hit:
Timeline of South Australian history, where the correct term (intentionally) pipes to "parking metres". To Panamitsu: that was a regular expression search, which is precise but very slow and resource-heavy. The "parking" does a pre-filter.
David Brooks (
talk)
16:22, 25 February 2024 (UTC)
Good point, I could have done this ~"parking metre*" insource:/[p|P]arking [m|M]etre/. Leave to Panamitsu to fix the article.
Neils51 (
talk)
23:17, 25 February 2024 (UTC)
Sure, but you would have had to have foreknowledge of the plural use :-) Also you have a somewhat hybrid use of [pP] and the (almost) equivalent (p|P), not that it hurts in this case.
David Brooks (
talk)
00:15, 26 February 2024 (UTC)
I've recently enabled Two-factor authentication, and since then, I've encountered difficulty logging into AWB. I would like to know if there is any solution to this issue, as repeatedly disabling two-factor authentication to use AWB is quite hazardous. Thank you.
GSS💬15:29, 7 March 2024 (UTC)
After hour of editing I accidentally type Escape key. Any way to continue editing or to save changed text? Thank you.
A.sav (
talk)
19:21, 12 March 2024 (UTC)
Using Escape is documented as 'stopping the editing process' and as you have discovered is quite successful. I had a bit of a play and can't see any way of successfully resuming, retaining edits. I would call that a bug and suggest you make a Phabricator request for the ability to 'continue'. I would suggest also that you wait to see if anyone else has a magic solution (unless you have exited). If doing gross editing then consider using another editor that perhaps has autosave capability then copy/paste. What can occur more often is that someone else edits in the interim and you have a conflict situation. Having your material elsewhere makes it easier to handle such situations and less frustrating.
Neils51 (
talk)
02:32, 13 March 2024 (UTC)
The "Stop" button has a similar effect, but first pops up a warning about losing the "manual changes in the edit box". If the Escape key has a similar effect it should show a similar warning. --
John of Reading (
talk)
08:36, 13 March 2024 (UTC)
Did we just update? I edited with AWB yesterday, no issues, but just now when i started up i was required to re-download the software. I don't see anything on this page or the project page indicating anything, so just wondering if there was an update and if anything i ought to know about will have changed? Happy days, ~ LindsayHello08:41, 13 March 2024 (UTC)
1) How do I append the template {{Use New Zealand English|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}? (in a place that satisfies
MOS:ORDER) I've seen several people doing this with {{Use mdy dates}} before so I know it's possible.
2) I've seen people debating whether these templates are cosmetic or not. I use the engvar templates to find and replace American spellings with New Zealand/British/Australian ones, so it may indirectly be considered not cosmetic. Am I right in thinking this way? Because I have to manually review the English variation in each article I am not considering a bot request. —Panamitsu(talk)09:37, 24 March 2024 (UTC)
Select the Prepend radio button (prepend adds to the beginning, whereas append adds to the end)
Add {{Use New Zealand English|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}} in the text box
Set the box to Use 1 newlines
Check the Sort meta data after box
On the Options tab:
Check Auto tag, Apply general fixes, Unicodify whole page, and Regex typo fixing (The more AWB can do, the less likely someone will consider this a cosmetic edit.)
Add find and replace rules to change American English to New Zealand English, and check the box to Add replacements to edit summary
See my edit to
1936 in New Zealand as an example (except I forgot to check the Minor edit box)
2) I can see why some people think that adding the template would be cosmetic because it doesn't change the visual rendering of the page. However
WP:COSMETICEDIT reminds us that the maintenance of hidden categories is a substantive edit.
@
GoingBatty: Except, shouldn't you have used subst: in the CURRENT... templates on line 1? I'll let you fix if necessary in case I misunderstood. @
Panamitsu: hold off on that template addition, but I think I'm right.
David Brooks (
talk)
22:08, 24 March 2024 (UTC)
Thanks! I'll try this.
Yup, it should be {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}, my bad. As GoingBatty's edit didn't substitute the template it just inserted the template instead of the current month/year. I've checked the visual editor and it uses subst: for dated templates. —Panamitsu(talk)22:18, 24 March 2024 (UTC)
@
DavidBrooks: You are correct. I just copied the template from the question without reviewing it for accuracy.
There are a few pages with incorrect engvar templates, such as Use British English or EngvarB. I found them using a regex and removed them, such as here. —Panamitsu(talk)05:04, 25 March 2024 (UTC)
adding connected contributor template
Hello, I'm learning how to use AWB to add a connected contributor template to a bunch of pages I've edited. The how-to in "two questions" was really helpful!
Talk:Lloyd_Alexander shows my first test edit. Is it okay to have the connected contributor template prepended, or is there a way to add it after the talk page banners and before general talk page discussion (this is how I normally see it added)?
Rachel Helps (BYU) (
talk)
15:58, 1 April 2024 (UTC)
Yes; on the More... tab, make sure the Sort meta data after option is checked. You will then prepend the template, and AWB will place it in the correct place.
Primefac (
talk)
12:14, 2 April 2024 (UTC)
Well, that's not what it's doing when "sort meta data after" is checked. I wish I knew more about how AWB works so I could troubleshoot. I tried Appending, and that just put the banner at the bottom of the talk page. I could just leave it at the top, or manually insert the edit at the desired point on the talk page below the wikiproject banners.
Rachel Helps (BYU) (
talk)
18:36, 2 April 2024 (UTC)
Weird. Just checked on a few pages; if the template is already on the page, AWB will move it to the right place. If it's not already on the page, with or without the "sort after" checked it just leaves it prepended...
At the end of the day, I don't think it really matters as long as it's on the page, so just keep prepending (especially if you have a lot of them) at the top of the page and let someone who cares about banner order sort out the rest (unless someone who hasn't noticed this conversation in the last 28 hours actually comments on the "proper" way to sort this out).
Primefac (
talk)
18:41, 2 April 2024 (UTC)
OK, I see. That "sort meta data" must be the mainpage one then, not for talk pages. In which case the simple option is to load the edit then use the right click option in the edit box to reparse.
Rjwilmsi13:18, 3 April 2024 (UTC)
Please remove my name from the AWB check page. I haven't used it for a while and I don't see a need to use it for now. I'll make a request again at
WP:RFPERM if I need it again. Thank you.
AwesomeAasim17:23, 5 April 2024 (UTC)
@
Interstellarity: As they're all different (some are to sections, etc.) and there are only a dozen templates, I would be tempted to change their links manually then work through the new dabs with
DisamAssist to fix the links in articles. I can help with this if you wish.
Certes (
talk)
08:17, 9 April 2024 (UTC)
Many of these have been sorted out, and I've fixed of the remainder. I don't think AWB would have helped.
Certes (
talk)
18:51, 9 April 2024 (UTC)
Hi. Is there a maximum for lines "from-to" for the replace mechanism? Is there a way to enlarge it? Is there a way to save them for the next time? Is there a way to read them from a text file? Actually, I need about 1200 replaces on each page, none of them with regex, and work many days, is this possible? Thank you.
IKhitron (
talk)
21:43, 26 April 2024 (UTC)
Hi, the most lines I've entered on any particular settings file is about 600. I am not sure that there is a physical limit on the number of lines allowed (aside from a hardware limitation), so just keep adding until there's an issue. And yes, you can save your settings files, which would include all of your replacements, so you can save your work and return to it another time. Sorry, there are no mechanisms for either importing or exporting entries; it all has to be done manually.
Dawnseeker200004:57, 27 April 2024 (UTC)
Thank you. But if I can save it for another time, it means the AWB will save all of them _somewhere_. Can't I open this somewhere in Notepad++, guess the format, and add more? It will be unexpected, if the format used is binary. And I vaguely remember I could read it years ago, in XML or something.
IKhitron (
talk)
09:35, 27 April 2024 (UTC)
I've got one settings file with over 8,000 lines and it runs fine. The settings files are .xml formatted and can be edited in any text editor. To me, they are moderately complex, but they can be edited directly. It should be possible to create a spreadsheet or something which would change a list of "from" and "to" to the .xml code which could be pasted into the file, but I've not tried it. I suggest opening up the .xml file and looking at it. Good luck.
SchreiberBike |
⌨ 19:27, 27 April 2024 (UTC)
Removing whitespace from wikilinks causes problems
The general fixes (
FixLinkWhitespace to be exact) seems to remove necessary whitespace from wikilinks. Can anyone confirm that this happens? I don't have access to AWB on en-wiki.
Leading/trailing spaces shouldn't be inside the links in the first place. Also, for the first case, you would want to avoid a
WP:SEAOFBLUE.
In the first case, since India is less useful for linking, I'd do: [[Indian epic poetry|Indian epic]].
In the second case, I'd do: presented by [[Ally Financial|Ally]]
What AWB did is actually correct as far as how it's supposed to work (it assumes text and/or links next to each other stay that way, and leading/trailing spaces within links don't belong). But since we're also supposed to review any changes before saving, this is where manual edits come into play. Remember - this is a semi-automated helper, rather than a fully automated doer.
Stefen Towers among the rest!Gab •
Gruntwerk03:10, 4 April 2024 (UTC)
Hi there!
For
Panch Kedar, AWB's general fixes want to change [[India|Indian ]][[Indian epic poetry|epic]] to [[India]]n[[Indian epic poetry|epic]], which is still displayed as
Indianepic.
For
Maya Higa, AWB's general fixes don't change ''Nerve Center presented by[[Ally Financial| Ally]]'' because of the italics. However, without the italics, AWB's general fixes would make the change as you described above.
This is a
GIGO issue; I would suggest AWB genfixes check to make sure ]][[ gets fixed, but on the flip side I can see valid uses in cat links etc so maybe a
WP:WCW error could be created.
Primefac (
talk)
11:37, 4 April 2024 (UTC)
Is there any harm in moving the space outside of the wikilink? If two adjacent spaces are created, the renderer will shrink them to one. –
Jonesey95 (
talk)
17:33, 5 April 2024 (UTC)
We could even move the space outside if and only if there is no space there already. I suspect that this plan would produce the text the author intended more often than the current behaviour. However, it depends on context and either way the machine is guessing and a human eye is required: [[India ]]n poetry needs to be treated differently from [[India ]]is big.
Certes (
talk)
20:07, 6 April 2024 (UTC)
This doesn't seem to come from FixLinkWhitespace (FLW) but from
SimplifyLinks (SL) because disabling FLW didn't stop the general fixes from removing whitespace from wikilinks but disabling SL did. I had to disable SL in another wiki where people use
VisualEditor a lot, and the users of VisualEditor tend to leave behind tons of wikilinks with weird spacing. So, if someone else also uses the
Customised "General Fixes" and wants to disable this behavior until it's fixed, they'll have to disable this:
If you get an article list from that query, then use the template transclusions from infobox fraternity you can use the AWB list comparer to get a list of articles missing the template.
Rjwilmsi09:28, 26 April 2024 (UTC)
I would just simply copy and paste them. It shouldn't take more than 30 seconds if you do it like this: 1) press Ctrl+↓ on that query, 2) place your cursor on the right side of the last entry, i.e. "599. Eta Upsilon Gamma", 3) press and hold the left mouse button, 4) press Ctrl+↑ while holding the left mouse button and move the cursor next to the first entry, i.e. "1. Phi Kappa Psi", and now the pages should be highlighted, 5) copy them to the clipboard, and 6) in AWB, right click the empty page list in the bottom left corner and choose "Paste". --
JAAqqO (
talk)
01:26, 28 April 2024 (UTC)
That -hastemplate:"Infobox Fraternity" needs to be changed to -hastemplate:"Infobox fraternity", because
Template:Infobox Fraternity is a redirect page and hastemplate doesn't ignore capitalization when the template's name is inside quotation marks. Here's a working search:
2 results. --
JAAqqO (
talk)
01:26, 28 April 2024 (UTC)
Yet another suggestion if the suggestions above don't work: Here's a PetScan search link that has 1) pages copied from your query to the "Manual list" field in the "Other sources" tab and 2) "Infobox fraternity" added to the "Has none of these templates" field in the "Templates&links" tab:
38 results. --
JAAqqO (
talk)
01:26, 28 April 2024 (UTC)
Trappist the monk Yes, mostly, but a few use Infobox Sorority which is a redirect and there isn't enough room in the search box (which is something I haven't run into before! I'll look at the result from yours though.
Naraht (
talk)
15:12, 29 April 2024 (UTC)
I'm not entirely sure what you're asking about, but AWB does not set the bots flag, that is determined by the user account and its permissions. On the AWB menus the bot-related options are only available for bots; this includes the option to auto-save.
Primefac (
talk)
11:54, 9 June 2024 (UTC)
If you're talking about
these, then yes; the instructions are
here. Modules are great if you're doing complex processing that can't be performed by the stock features of AWB. I primarily use them for my bot when I am doing infobox changes so that they are all formatted and displayed the same way.
Primefac (
talk)
12:19, 9 June 2024 (UTC)
Yes, that's exactly what it's about. My bot does page processing, but its algorithm depends on whether the autosave flag is set or not. But this is a private question. A general question is how to check the state of the AWB's flags in the module?
Игорь Темиров (
talk)
12:30, 9 June 2024 (UTC)
Couldn't say, but I don't think so; I don't see bots mentioned in any of the
WikiFunctions. Someone more familiar with the backend code might be able to confirm or deny this though.
Primefac (
talk)
13:31, 9 June 2024 (UTC)
How to add a template in Talk page of articles
I have approval to run BOT in Tamil Wikipedia and executing tasks. I want to add a template in Talk pages of selected articles (selection is being done through Category). Talk pages may exist or may not be exist. I am not sure how to execute this task. If someone explain me about the steps / procedure, it will be much helpful. -
Selvasivagurunathan m (
talk)
20:04, 10 June 2024 (UTC)
due to... reasons
I have recently replaced, using AWB, hundreds of tautological instances of "due to health reasons" with "for heath reasons", and similarly for uses of "due to medical reasons" and "due to legal reasons". Naturally, I have excluded cases in quotations or the titles of sources.
Every now and then, and right now as I'm using it, AWB keeps timing out and I have to restart it one or more times to get to saving an edit. Does anyone know what's going on? These timeouts are very much disrupting my work.
Stefen Towers among the rest!Gab •
Gruntwerk21:27, 17 June 2024 (UTC)
AWB does not itself apply throttles, though the mediawiki API it uses to fetch and save pages does have a throttling mechanism (maxlag) that AWB is required to follow. Though timeout issues are more likely an intermittent network issue - whether at mediawiki or your end, or in the middle I can't say.
Rjwilmsi10:15, 20 June 2024 (UTC)
Thanks for responses. In my case, this seems to happen about one out of four times i use AWB, and it seems to be a mix of straight-up timeouts and error message windows that say the process was stopped at the server (I can't recall the exact words). From now on, when I encounter these problems, I will just take it as a sign to shutdown AWB and find something else to do.
Stefen Towers among the rest!Gab •
Gruntwerk18:07, 21 June 2024 (UTC)
Removing spaces in citations
Is the removal of spaces in citation templates something that's been added to AWB recently, deliberately or otherwise? There's
a discussion at WP:ANI due to conflict about this being done using AWB to fix typos.
NebY (
talk)
14:15, 21 June 2024 (UTC)
@
NebY: I've tested AWB on
Alien Resurrection. The
typo-fixer only wants to add commas after two dates. The
general fixer only wants to add blank lines before some of the headings.
Special:Diff/1230183818 added the commas but not the blank lines. Everything else in that diff is not part of the built-in functionality, as far as I can see, and I assume is from that editor's own configuration rules. --
John of Reading (
talk)
14:49, 21 June 2024 (UTC)
Oh good, it'seassuring that AWB's not doing it generally. I'll report back. Thank you for testing!
NebY (
talk)
15:20, 21 June 2024 (UTC)
In tables, it is sometimes necessary to use a special unicode spacing character to create a specific center-alignment. See the first column of the big table on this page
[4].
AWB really doesn't like these. If they somehow break someone's viewing, then I can look for a different solution. But if it's just a robot being picky then I will ask for someone to adjust its programming... or get the word out to the humans that these don't need to be removed.
Wizmut (
talk)
07:31, 22 June 2024 (UTC)
This is important in the case that you've made a mistake and someone is telling you to stop. Without the popup, you may never notice. ―Panamitsu(talk)23:24, 17 June 2024 (UTC)
I don't need to be nannied like that.
Even if what you say is true, I will be notified by other avenues
Yes you do. Everyone of us need to be. Is it annoying? Sure. But it certainly beats the alternative of AWB operators not being notified of issues and plowing through as is. Headbomb {
t ·
c ·
p ·
b}15:04, 20 June 2024 (UTC)
This type of response makes me consider whether the user should have AWB access... I don't think they fully understand the mistakes that can be made and the damage that can be done with the slightest bit of carelessness or a typo. If they do, that's even more concerning that they're so annoyed at the prospect of someone catching their mistake(s) before they go too far... I've made mistakes with AWB, I think everyone who uses it enough has.
Hey man im josh (
talk)
15:31, 20 June 2024 (UTC)
@
Pigsonthewing: I perfectly understand what you wrote. You're just wrong for thinking you're infallible and will never make mistakes with AWB. Everyone does and that's okay, but let's not pretend it's actually a bad idea for people to catch a mistake mid way through an AWB run. However, if you still think I don't understand, I'd love to hear this explained further.
Hey man im josh (
talk)
23:10, 20 June 2024 (UTC)
@
Pigsonthewing: It's not fantasy, it's inference. Please go ahead and explain further why you don't need to be notified mid AWB run if you're making a mistake. Educate me please and thank you.
Hey man im josh (
talk)
02:51, 21 June 2024 (UTC)
@
Pigsonthewing: Do you have anything else you'd like to say? Something actually productive instead of replying just to reply? You've said I don't understand. I would like to. So please go ahead.
Hey man im josh (
talk)
03:08, 21 June 2024 (UTC)
You have received 8 updates to your talk page in the past week, one of them from an archiving bot (I don't think those trigger the alert). So practically, I don't see how this alert can be especially annoying or disruptive. And it serves the purpose of ensuring the AWB user knows of a potential issue during their run. But am I annoyed a bit when this alert occurs? Sure I am. But I see it as a price for using this potentially disruptive/destructive tool.
Stefen Towers among the rest!Gab •
Gruntwerk18:04, 19 June 2024 (UTC)
On at least three occasions in that period, when I have fired up AWB it has refused to work until it has opened up a new tab in my browser because I have talk page messages about which I have already been made aware by another tool. You not seeing how this is especially annoying or disruptive does not mean that it is not especially annoying and disruptive. It is most egregiously annoying and disruptive when those messages have been left by User:MediaWiki message delivery. Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits19:05, 19 June 2024 (UTC)
Well, I am not inclined to agree that this is the severe problem that you present it as, but if there was a way for it not to stop on particular messages that could not possibly be concerns about AWB use, that sounds like a good idea, if it's possible for the software to discern that.
Stefen Towers among the rest!Gab •
Gruntwerk19:25, 19 June 2024 (UTC)
There is not currently a mechanism to disable the AWB talk page message notification. Once message(s) have been viewed/marked as viewed on wikipedia/wiki website then AWB stops the notification. I am not clear how to easily and reliably differentiate between messages that do and don't matter to the user's use of AWB, so I think the intended purpose still stands - require a user to view a message in case it relates to an issue with their current/recent edits. If there is community consensus that that's an unnecessary safeguard then maybe some sort of RFC could be raised, then if agreed the popup could be disabled in a new AWB release (or disabled for en-wp if scope of RFC were only that).
Rjwilmsi10:21, 20 June 2024 (UTC)
yes, it is a failsafe. For regular users, as well as for AWB bots. I think it is good to have this feature, and giving an option to turn it off would defeat its purpose. —usernamekiran
(talk)11:34, 20 June 2024 (UTC)
For those few of us that use an
alternative account just for AWB, it is a mild nuisance to open an incognito tab and try to remember the alternate's password just to read the messages. I would love to be able to affirmatively clear the notifications from within AWB, but that is a low-priority request and frankly a "whine: it's too hard" one.
David Brooks (
talk)
14:27, 20 June 2024 (UTC)
@
Pigsonthewing: Andy, can you clarify? Does "I can not" mean you have to make an extra click to dismiss the talk page, which is flow-disrupting? Or that after dismissing the AWB popup you still cannot keep going? (I could be making a false dichotomy, to which I am prone) The latter would be a symptom of your browser being logged in under a different one of your alternative accounts, or even not at all, but could be something else broken.
David Brooks (
talk)
18:31, 24 June 2024 (UTC)
I mean that the statement "You can dismiss the pop up notification and keep going" is false. The only option (other than fully exiting AWB) is to click on the single button in the dialogue, which opens a new tab in my default web browser (which is logged in to the same Wikipedia account as AWB). Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits20:00, 24 June 2024 (UTC)
Others can speak for themselves, but to me "dismiss the popup notification" and "click on the single button in the dialogue" are referring to the same thing.
David Brooks (
talk)
21:50, 24 June 2024 (UTC)
"The only option (other than fully exiting AWB) is to click on the single button in the dialogue, which opens a new tab in my default web browser (which is logged in to the same Wikipedia account as AWB)."
Exactly as intended. Do that and you will have "dismissed the pop up notification" and can "keep going". Headbomb {
t ·
c ·
p ·
b}22:20, 24 June 2024 (UTC)