Open main menu

Wikipedia:AutoWikiBrowser/Tasks

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 Link Ninja may also be useful for completing the tasks on this list (see WP: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.

Cleanup of GitHub advertisingEdit

Hello, could someone more experienced with RegEx help with a cleanup task for GitHub advertising please? The task would be something like this:

  1. Search for articles that include the string Contribute to * by creating an account on GitHub. within citation or cite X templates. Here is a search call listing these articles. The restriction within citations is probably redundant but intends to reduce false positives however unlikely.
  2. Remove the strings Contribute to * by creating an account on GitHub. and Contribute to * by creating an account on GitHub. (with or without 1 leading blank) within these articles that match the previous search filter.

My RegEx abilities are limited especially with more complex syntax and my current AWB access is down (loyal XP user ...). Any help would be appreciated. If possible, it would be great if you could also include the RegEx syntax here for future use. GermanJoe (talk) 16:05, 26 September 2019 (UTC)

I've started this, replacing the ad by the more neutral HTML page title "GitHub - name: description", as in Beaker. I expanded the search to include templates such as {{Latest stable software release/BitlBee}}. Certes (talk) 16:36, 26 September 2019 (UTC)
  Done. Regex, with g flags (both search strings have an initial space before the *):
  • *([^ =][^=]*?) *Contribute to (.*?) (development )?by creating an account on GitHub\.?GitHub - $2: $1
  • *Contribute to (.*?) (development )?by creating an account on GitHub\.?GitHub - $1
Theoretically this breaks when the GitHub description contains "=" and possibly in other cases; in practice it worked.
I used JWB for this; it's a good alternative if you're unable to use AWB. Certes (talk) 17:27, 26 September 2019 (UTC)
I'll try that out. Thank you for the quick help with this task. GermanJoe (talk) 17:34, 26 September 2019 (UTC)
@GermanJoe: New ads are appearing: see Maxima (software). @Petilil: Please can you tell us how you added the title to this edit? Thank you for adding the information and the reference, and no one is suggesting that you did anything wrong, but if you are using a tool then we may be able to improve it to add better titles. Certes (talk) 09:29, 28 September 2019 (UTC)
One source of this problem is User talk:Zhaofeng Li/reFill#Refill 2 and Github titles, but maybe some of the instances have been simple good-faith mistakes by editors (the GitHub advertisement is stored within one title field of the original HTML pages on GitHub). Unfortunately I haven't heard any news about this aspect and don't have a GitHub account to report this issue directly at https://github.com/zhaofengli/refill/issues . GermanJoe (talk) 09:47, 28 September 2019 (UTC)
So the way to get this fixed is to Contribute to its development by creating an account on GitHub? How ironic. Certes (talk) 10:13, 28 September 2019 (UTC)
Yeah, I guess so lol. Didn't even occur to me when writing the information. GermanJoe (talk) 10:16, 28 September 2019 (UTC)
I've simply used the Cite button in the 2017 wikitext editor and pasted the URL. Petilil 10:18, 28 September 2019 (UTC)
Tools that get titles from the HTML <title></title> are prone to this sort of thing. One reason I never made a title bot the edge cases. For now I guess we are left removing stuff piece-meal. A title bot could both add missing titles and be trained to remove strings via a public regex config page. -- GreenC 16:02, 28 September 2019 (UTC)
New cases are still popping up. I'm fixing one every few days, and I expect other editors are catching some before I spot them. Certes (talk) 21:47, 24 October 2019 (UTC)

David BallEdit

[[David Ball (musician)]] -> [[David Ball (British musician)]] Page moved per WP:PRECISE since at least two other "David Ball"s who have articles are also musicians. Ten Pound Hammer(What did I screw up now?) 04:16, 12 October 2019 (UTC)

  DoneIVORK Discuss 09:17, 16 October 2019 (UTC)

Bulk/automated move pagesEdit

Please can someone assist with the requested move as at Talk:2011 United Kingdom census#Requested move 25 October 2019, i.e. all pages at Category:Censuses in the United Kingdom with the structure "United Kingdom census, 2011" should be changed to "2011 United Kingdom census"; as with the example United Kingdom census, 20112011 United Kingdom census. Thank you in advance! comrade waddie96 ★ (talk) 19:27, 1 November 2019 (UTC)

Already done by the looks — IVORK Talk 05:57, 2 November 2019 (UTC)