Wikipedia:AutoWikiBrowser/Tasks

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

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).

See also Wikipedia:WikiProject Check Wikipedia.

Portals[edit]

Following invertions of redirections motivated by the Manual of Style, and as recommended by Help:Moving a page#Moving a portal, please replace the links to:

Portal:Parliamentary Procedure, Portal:Molecular and Cellular Biology, Portal:Software Testing, Portal:Rock Climbing and Portal:Computer Generated Imagery

By direct links to:

Portal:Parliamentary procedure, Portal:Molecular and cellular biology, Portal:Software testing, Portal:Rock climbing and Portal:Computer-generated imagery

Thanks! Coreyemotela (talk) 19:02, 22 May 2014 (UTC).

These moves are still being discussed at Portal talk:Molecular and cellular biology#Moves, so it might be better to delay the updating of the portal names in articles. -- John of Reading (talk) 05:09, 23 May 2014 (UTC)
The inversion of redirections to respect the Manual of Style is not really discussed ; it is only questioned by one IP address. But we can still wait a little bit if you think it is better. Coreyemotela (talk) 06:29, 23 May 2014 (UTC).
Update of the request: please replace the links to:
Portal:Parliamentary Procedure, Portal:Molecular and Cellular Biology, Portal:Software Testing, Portal:Rock Climbing, Portal:Computer Generated Imagery, Portal:Musical Theatre, Portal:Body Modification, Portal:Molecular Anthropology, Portal:Indian Education, Portal:Extinction, Portal:Hazardous Materials, Portal:Human Health and Performance in Space, Portal:Hindu Mythology, Portal:Tamil Cinema, Portal:Pervasive Developmental Disorders and Portal:Aquarium Fish
By direct links to:
Portal:Parliamentary procedure, Portal:Molecular and cellular biology, Portal:Software testing, Portal:Rock climbing, Portal:Computer-generated imagery, Portal:Musical theatre, Portal:Body modification, Portal:Molecular anthropology, Portal:Education in India, Portal:Extinct and endangered species, Portal:Hazardous materials, Portal:Human health and performance in space, Portal:Hindu mythology, Portal:Tamil cinema, Portal:Pervasive developmental disorders and Portal:Aquarium fish
Thank you! Coreyemotela (talk) 06:43, 25 May 2014 (UTC).
X mark.svg Not done No consensus for the renames to take place. --Mdann52talk to me! 15:40, 11 June 2014 (UTC)

Lots of article with typos[edit]

If any of you like to use AWB's regex typo fixing feature, I've started a scan of the most recent database dump (2014-05-02) and have identified approx. 18,000 articles with typos in the first 21% of the dump (which is a run rate of ~90,000 articles to fix in total). You're all welcome to take a page or two and help fix them. —Darkwind (talk) 07:56, 23 May 2014 (UTC)

Update: The scan is complete, and there are approx 73K articles to check at User:Darkwind/Typos. —Darkwind (talk) 02:56, 27 May 2014 (UTC)
@Vanisaac: Could you please provide some examples of articles where you're still having an issue? I tried five articles containing "Don D'Ammassa" and tried the 5 false-positive matches above, and AWB did not suggest any typo changes. Thanks! GoingBatty (talk) 12:43, 4 July 2014 (UTC)
I was talking about the posted task, not the erroneous typo matches. About half of the pages are still in need of processing, and I didn't want this getting archived before the task was completed. VanIsaacWScont 20:11, 4 July 2014 (UTC)
@Chris the speller, John of Reading: Interesting in helping? GoingBatty (talk) 20:58, 4 July 2014 (UTC)
OK, I'll claim a subpage on Monday. -- John of Reading (talk) 05:19, 5 July 2014 (UTC)
I can't let you guys shame me. I grabbed a group. Chris the speller yack 23:27, 6 July 2014 (UTC)

CfR tagging[edit]

Can some one pleast tag the 243 categories listed at Wikipedia:Categories for discussion/Log/2014 July 2#Category:Fooian law? The necessary line to be prepended is:
{{subst:cfr||Category:Fooian law}}
עוד מישהו Od Mishehu 10:40, 2 July 2014 (UTC)

Already done by Paul 012. SiBr4 (talk) 11:31, 2 July 2014 (UTC)

Seeking regex advice[edit]

Is there a clever way to use regexes in AWB to modify something like this:

**Prime Minister -
**# [[Rashid Karami]], [[Prime Minister of Lebanon]] (1961–1964)
**# [[Hussein al-Oweini]], [[Prime Minister of Lebanon]] (1964–1965)

to this:
**[[Prime Minister of Lebanon|Prime Minister]] -
**# [[Rashid Karami]] (1961–1964)
**# [[Hussein al-Oweini]] (1964–1965)

(There might be more than two entries in the list). Colonies Chris (talk) 11:34, 4 July 2014 (UTC)

@Colonies Chris: How about two rules:
  • \*\*Prime Minister -**[[Prime Minister of Lebanon|Prime Minister]] -
  • (\*\*# \[\[[\w-\s]+\]\]), \[\[Prime Minister of Lebanon\]\] (\(\d{4}–\d{4}\))$1 $2
Hope this helps! GoingBatty (talk) 12:56, 4 July 2014 (UTC)
  • Thanks but it's not just for Lebanon - it could be any country. I need to pick up the country name from the link next to the incumbent's name, and plug that into the 'Prime Minister of xxx' heading of the list (and remove the corresponding link from each individual entry on the list). I know AWB has a facility to specify whether regexes are single line or multiline, but I don't really understand how that works. Colonies Chris (talk) 13:24, 4 July 2014 (UTC)

@Colonies Chris: This will take care of the heading and the first PM. You can then do a quick find and replace on all the other occurrences of "PM of..." *Find: [\*\*Prime Minister -]\n\*\*\# \[\[(.*)\]\], \[\[Prime Minister of (.*)\]\] \((.*)\) *Replace: [[Prime Minister of $2]]\n**# [[$1]] ($3)

Hope this does the job. - X201 (talk) 14:42, 4 July 2014 (UTC)
Hang on, just spotted a formatting error. - X201 (talk) 14:48, 4 July 2014 (UTC)
Fixed.
  • Find: (\*\*Prime Minister -)\n\*\*\# \[\[(.*)\]\], \[\[Prime Minister of (.*)\]\] \((.*)\)
  • Replace: [[Prime Minister of $3|Prime Minister]] - \n**# [[$2]] ($4)

- X201 (talk) 14:56, 4 July 2014 (UTC)

  • That does the job very nicely, thanks. I've extended it to cover Presidents too. Colonies Chris (talk) 22:11, 4 July 2014 (UTC)

WikiProject Anti-war[edit]

Resolved

Hey folks. If this isn't the right place to request a task, then please point me to the correct location.

I was just using CatTree to look at Category:Anti-war when I noticed that most articles aren't tagged with {{WikiProject Anti-war}}.[1] This is probably because the project was defunct for many years until recently.

Therefore, this is a task request for a tagging run through the category tree to remedy the problem. After the run, I will manually go through each article to assess them. However, I would have no objection to a combined inherited assessment run if the AWB operator is interested. Otherwise, this task request is for a simple tagging of all articles within the category. Thanks. Viriditas (talk) 01:18, 10 July 2014 (UTC)

@Viriditas: Are you also interested in tagging articles in subcategories of Category:Anti-war? If so, could you please provide a list of each category that is appropriate for tagging? Thanks! GoingBatty (talk) 02:28, 10 July 2014 (UTC)
I am interested, but I can see now how some of them should be excluded. Perhaps it would be easier if I just trawled the subcats in AWB myself. Viriditas (talk) 02:33, 10 July 2014 (UTC)
I think I've got it under control. If anyone can point me to any current user pages as to how to best use AWB for WikiProjects, I would appreciate it. Viriditas (talk) 03:06, 10 July 2014 (UTC)

Proper sort on "List of" Articles in "Lists of" Categories[edit]

I'm looking for a way to find all of the articles with names starting with "List of" that are in Categories that start with "Lists of" that *don't* have a sort key that will keep them from getting sorted in that category under "List of".

For example, if run right now, it would find that List of people from Sacramento, California is in Category:Lists of people by city in the United States and sorted under "List of people..." rather than having something that would cause it to be sorted under "Sacramento, California". (Someone on Help Desk suggested asking on VPT, someone there suggested AWB/Tasks.Naraht (talk) 01:40, 12 July 2014 (UTC)

@Naraht: The hard part of your request is assembling a list of all the articles with names starting with "List of" - AWB will only retrieve the first 1000. From that list, I went through them all looking for \[\[Category:Lists of [\w\s]+\]\] and didn't find any. Anyone else have a better idea? GoingBatty (talk) 03:19, 20 July 2014 (UTC)
@Naraht, GoingBatty: I've created User:Naraht/Lists with no category sort key from the 14 June database dump, using GoingBatty's search criteria plus an extra test "Has no DEFAULTSORT". Feel free to {{db-user}} it when you've finished with it; or I could update it for you when I next download a new dump. -- John of Reading (talk) 08:15, 20 July 2014 (UTC)
@GoingBatty, John of Reading: \[\[Category:Lists of [\w\s]+\]\] does not find categories like Category:Lists of people from Washington, D.C., since [\w\s] only matches letters, numbers, underscores and spacing, not other valid characters such as accented letters, periods, commas, hyphens and brackets. I suggest replacing [\w\s]+ with .+?, which ungreedily matches any single-line string. To exclude invalid page names, you could use something like [^#<>\[\]\|{}]+ instead. SiBr4 (talk) 09:07, 20 July 2014 (UTC)
@SiBr4: Thanks, I've run the scan again. -- John of Reading (talk) 10:54, 20 July 2014 (UTC)
@John of Reading: Not quite what I'm looking for. In most cases when properly done, the [[Category:Lists of blah|location]], so can I have what you generated, but also those where the article is article is [[List of ...]] and the Category is [[Lists of...]] and does *not* include an *individual* sort key which would be indicated by a |. (Which I guess would be something like \[\[Category:Lists of [^\]|]+\]\]
@Naraht: If I omit the DEFAULTSORT test, the list will be much longer. Have a look at List of Atlas Shrugged characters, where the sort key in Category:Lists of literary characters is set by the DEFAULTSORT. -- John of Reading (talk) 11:21, 20 July 2014 (UTC)
@John of Reading: OK, so we need A) Article name is "List of" and B) the "Lists of" Category has no individual sort key and C) defaultsort either (doesn't exist or starts with "List of") Does that work?Naraht (talk) 11:47, 20 July 2014 (UTC)
@John of Reading: Didn't realize that the list that you had regenerated was over 4000. Unless I can spread the pain to others (like WP:WCW), that list will be more than enough to work on for now.Naraht (talk) 11:52, 20 July 2014 (UTC)
──────────────────────────────────────────────────────────────────────────────────────────────────── I'll have one more go, to see if I can distinguish "DEFAULTSORT:List of Foo" [bad] from "DEFAULTSORT:Foo, List of" [good]. -- John of Reading (talk) 11:59, 20 July 2014 (UTC)
(More) That seems to have worked. -- John of Reading (talk) 12:14, 20 July 2014 (UTC)

Template:Pmid[edit]

I just closed the RFD for Template:Pmid at RfD 2014 July 2 as retarget to Template:PMID. But before this can happen all transclusions of the template should be replaced with Template:Cite pmid. Armbrust The Homunculus 21:26, 12 July 2014 (UTC)

Upmerge Category:African-American women judges[edit]

Per Wikipedia:Categories for discussion/Log/2014 April 29#Category:African-American women judges, Category:African-American women judges needs to be upmerged to all 3 parents. Specifically, for each page in the category, the following needs tobe done:

עוד מישהו Od Mishehu 06:55, 22 July 2014 (UTC)