From Wikipedia, the free encyclopedia
Jump to: navigation, search

This page is for AWB'ers who can't find anything to put it to use on, or who would like to help others with this powerful tool.

Below are tasks for which a page-autoloader with various capabilities would be especially useful. That is, the people posting these tasks need the help of AWB'ers! If you have AWB, please lend a hand. Note that Linky may also be useful for completing the tasks on this list (see Wikipedia:OTS#Tabs_and_tabbing).

Please note that Wikipedia:Bot requests sometimes has one-time tasks which can be done easily using AWB. Similarly, issues at Wikipedia:Categories for discussion/Working/Manual#Multiple merge targets can also usually be handled with AWB.

See also Wikipedia:WikiProject Check Wikipedia.

Changing HTTP to HTTPS for selected domains[edit]

For numerous reasons (I refer you to [1]), HTTPS should be preferred over HTTP. Obviously not all websites support HTTPS (yet), but some of the most-linked websites on Wikipedia do. Among them are Google Books, Google News, YouTube, and the Internet Archive. The latter switched to HTTPS by default in 2013 and—while still allowing HTTP connections for backward compatibility—encourages others to use HTTPS links. For a couple of months now, I have been switching IA, Google and other selected links to HTTPS using AWB, which is considered an improvement of Wikipedia. However, Materialscientist recently removed my name from the CheckPage, stating that I was violating AWB rules with these kind of edits, although he never bothered to elaborate. Anyhow, my question is whether those kind of edits are what AWB is supposed to be used for, and whether I should be allowed to execute them. --bender235 (talk) 16:46, 28 August 2015 (UTC)

You are doing a pointless exercise and breaking the link history. HTTP!=HTTPS there are website serving different content on the two different protocols (like you wouldn't expect ftp:// to be web content). Doing this is like removing www. from URLs (it's used for load balancing BTW). Additionally, HTTPS offers no ISP-level caching a very design goal of HTTP. Companies advocating this are running their own private backbone and are heavily invested in tracking their users where caching is something to be worked around. — Dispenser 01:03, 29 August 2015 (UTC)
Even if everybody agreed that it is a truly useful change, it violates AWB Rules of Use: "Do not make insignificant or inconsequential edits. An edit that has no noticeable effect on the rendered page is generally considered an insignificant edit." Monkeying with URLs does not have a noticeable effect on the rendered page. Chris the speller yack 04:54, 29 August 2015 (UTC)
Unfortunately I have to clear some misconceptions again. @Dispenser: I was not talking about random websites, but only those four named above. No links will be broken. All of them serve identical content via HTTTP and HTTPS (compare [2] and [3] for instance). @Chris the speller: this edit is far from insignificant. I linked an explanation website by Federal Chief Information Officer of the United States above, but apparently none of you read it. In essence, the purpose of HTTPS for Google Books etc. is the same as for Wikipedia (which, as you may have noticed, switched to HTTPS by default this year): it protects privacy and integrity of content delivered to the reader. PS: explain to me how the edit would be "insignificant" if "everybody agreed it was truly useful"? How can something be "truly useful" but "insignificant" at the same time? --bender235 (talk) 14:13, 29 August 2015 (UTC)
@Bender235: AWB's rules clearly define what they mean by "insignificant edit", and that is generally one that cannot be detected by a reader looking at the page. Changing "http" to "https" cannot be detected by a reader looking at the page. Surely you can differentiate between what is insignificant from the point of view of the reader looking at the page and what is insignificant from the point of view of editors who are digging deep behind the scenes. I am not piling on; I am just pointing out that it violates the letter of the rules, if not the intent, and that you may expect to receive complaints if you make such edits with AWB. If the edits are truly useful, and you make a bot request (WP:BOTREQ), you should have no trouble getting approval. It's just that AWB is not the right tool for this, by its own charter. Chris the speller yack 16:42, 29 August 2015 (UTC)
@Chris the speller: I see. But this of course means AWB violates its own rules permanently. Because changing pipped links like [[Airplanes]] to [[Airplane]]s, or correct template links like {{cn}} to {{citation needed|date=August 2015}}, and hundreds of other so-called "minor edits," are barely noticeable by the average reader, yet are done by AWB and considered an improvement of Wikipedia. It just seems confusing to me. --bender235 (talk) 17:38, 29 August 2015 (UTC)
@Bender235: Some of AWB's general fixes, such as the two you mentioned, would be considered insignificant if made on their own, but helpful when made in conjunction with other changes that impact the reader's view. GoingBatty (talk) 18:27, 29 August 2015 (UTC)
I see. So should this HTTP->HTTPS switch be included as a minor (secondary) automatic fix in AWB? --bender235 (talk) 04:02, 30 August 2015 (UTC)
@Bender235: You could submit a feature request if you like. GoingBatty (talk) 05:13, 30 August 2015 (UTC)
@GoingBatty and Chris the speller: please leave a comment here if you have time. --bender235 (talk) 19:58, 6 September 2015 (UTC)
Again, a reminder @Dispenser, GoingBatty, and Chris the speller:: if you have time, please explain here why you consider the HTTP→HTTPS fix a purely cosmetic edit. --bender235 (talk) 14:02, 13 September 2015 (UTC)
@Bender235: I don't think I said that the HTTP→HTTPS fix a purely cosmetic edit. My goal of suggesting this (and many other things) as an AWB general fix is to maximize the impact of each AWB edit and reduce the number of cosmetic edits. GoingBatty (talk) 14:13, 13 September 2015 (UTC)
I understand. But I still believe the HTTP→HTTPS fix merits an edit on its own if necessary. Just like a small fix like [[Categroy:...]][[Category:...]] does, because it is more than just a typo fix, it adds something on a technical level. --bender235 (talk) 14:18, 13 September 2015 (UTC)


Hi! Could some admin take a look at this page and check, which of these articles has none of these templates, or their redirects on the talk page:

Results (no, I don't need wikitable in result - bulleted list is completely fine) can be copied in the same page overwriting wikitable. --Edgars2007 (talk/contribs) 09:19, 24 September 2015 (UTC)

  • Since AWB can only handle 25,000 pages at once in lists, I split your list in two to be able to process it; the first half (A–Ka; 16,072 pages) is now in your subpage. Also, because {{WikiProject Anthroponymy}} has more than 25,000 transclusions, the new list may still include some pages using it. (I had to use AWB to even save the list onto your page, as Chrome fails to load your list due to its size.) SiBr4 (talk) 10:29, 24 September 2015 (UTC)
    • Oh, didn't know about such limits. Will do that in my way with SQL, but anyway thanks! --Edgars2007 (talk/contribs) 11:01, 24 September 2015 (UTC)

Events by month links[edit]

Template:Events by month links should be transcluded on each article in Category:Months in the 1900s. AWB can help do this. Doing a quick search for incategory:"Months in the 1900s" -hastemplate:"Events by month links" reveals that 105 pages will be affected. GeoffreyT2000 (talk) 20:51, 29 September 2015 (UTC)

CfD nomination cardiovascular deaths[edit]

After this nomination and this nomination I'd like now to nominate all child categories of Category:Cardiovascular disease deaths by country for deletion. Unfortunately it's not really doable to this manually, so I wonder if someone could offer help to automate this process. The procedure of CfD nominations always consists of two steps, in this case the steps are:

  1. The first step is (similar to what you can see in the two before-mentioned discussions) to generate a text line for each country of the format: Propose deleting Category:Cardiovascular disease deaths in "name-of-country"
  2. The second step is to insert a "Subst:cfd|Cardiovascular disease deaths" template (preceded and closed by double accolades instead of quotation marks) on top of every country category page.

Thanks for your help and please ping me if you need more info. Marcocapelle (talk) 07:42, 2 October 2015 (UTC)

@Marcocapelle:Please make the nomination, and tag the head category. If you can't (or don't have time to, or just plain won't) tag the rest, leave an explicit note to that effect there and mention it here. עוד מישהו Od Mishehu 17:15, 8 October 2015 (UTC)
@Od Mishehu: Thanks for your advice, I've started the nomination here and hope that you can help me with adding the country subcategories. Marcocapelle (talk) 20:42, 10 October 2015 (UTC)
Yes check.svg Done. @Marcocapelle:, next time please explicitly include the entire nomination list in the nomination, even if you only tag the head category. עוד מישהו Od Mishehu 03:29, 11 October 2015 (UTC)
Thanks very much!! Marcocapelle (talk) 06:37, 11 October 2015 (UTC)

AWB help - sort of a search and replace[edit]

I have a set of tasks which I think are perfect for AWB. I want to emphasize that I want to do them, so I get more experience with AWB but this set of tasks is more complicated than ones I've done before so I'm looking for some guidance on how best to do it.

The first part of the task is relatively straightforward and I think I could handle myself. I have a number of references formatted similarly to the one here:

<ref name="1993 WUG">{{cite web|last=|first=|date=|title=SIXTEENTH WORLD UNIVERSITY GAMES -- 1993|url=|work=|publisher=USA Basketball|accessdate=15 Oct 2013}}</ref>

The title is in All-Caps. Despite the fact that the original site uses that convention, my reading of MOS suggest I should be changing the case. If if this were the only thing I needed to do I could set up a search and replace, searching for:


And replacing with:

Sixteenth World University Games

I illustrated with one example but there are also values for "EIGHTH" through "TWENTY-SEVENTH" (In addition to World University games, I have the same issue with Pan American games, Junior world championships, U18 world championships, U19 world championships and others.)

However, I have other changes to make at the same time. If you try to access the URL in the above reference, it resolves to a 404. In that specific case:

  • Old reference:
  • New reference:

While I am making changes I thought I should also include the Internet archive address. For this a specific example:

  • IA reference:
  • IA Date: 7 September 2015

However, I don't think I can now do a simple search and replace. The original ref will have an access date which might vary. In words, I want to search for a reference whose name is "1993 WUG" then replace the entire reference with: <ref name="1993 WUG">{{cite web|last=|first=|date=|title=Sixteenth World University Games -- 1993|url=|work=|publisher=USA Basketball|accessdate=12 October 2015| archive-url = | archive-date =7 September 2015|dead-url=no}}</ref>

Which would:

  1. Change the case of the title
  2. replace the dead link URL with a current working link
  3. Add the Internet Archive URL
  4. Add the IE access date
  5. Include the "dead-url=no" parameter, as the revised url is (currently) alive
  6. Update the access date of the main URL

I don't think I want to do a single AWB run with all changes at once. I'm thinking that I might set up a run which handles all world University games, then rinse and repeat for Pan American games etc.

I can create a table, which for example might identify that all of the world University games references are of the form "YYYY WUG" in specify the correct replacement reference for each case, but I'm a little out of my depth in telling AWB to search for a part of a reference and then replace the entire reference with some string.

Can someone tell me the best way to do this?--S Philbrick(Talk) 19:08, 12 October 2015 (UTC)

I started creating a table of replacements (which have to be created manually).
User:Sphilbrick/USA Ref replacement table
Once I have such a table, I think I can use it in AWB, but I'm not exactly sure how.--S Philbrick(Talk) 23:49, 12 October 2015 (UTC)

Please create a few redirects[edit]

Would someone mind creating a few redirects?

All of these need to go to Missouri supplemental route; the routes are named with single letters or with double letters, which latter consist of "A" and a second letter, or the same letter used twice. Nyttend (talk) 01:18, 13 October 2015 (UTC)