Jump to content

User:BattyBot

From Wikipedia, the free encyclopedia


Tasks

[edit]

Active (some more than others)

[edit]
Task # Task Status Brief Description Last Run
2 Remove {{Orphan}} from articles with more than two incoming links Approved Run against articles in the monthly subcategories of Category:Orphaned articles.
Run this query to find articles with more than two incoming links.

Skip if no auto tag changes or contains "orphan" after changes.

October 2024
3 Remove {{Dead end}} from articles with at least one wikilink Approved Dead-end pages are defined as those that have "no internal links to other Wikipedia articles." Run against articles in Category:All dead-end pages. Skip if no auto tag changes or contains "dead end" after changes. November 2024
4 Change {{Unreferenced}} to {{More citations needed}} from articles with at least one reference Approved Run against articles in the monthly subcategories of Category:Articles lacking sources.

Search for incategory:"All articles lacking sources" insource:/\<ref(\>| name)/

December 2024
7 Remove {{Multiple issues}} Approved Remove Multiple issues template if has no parameters, convert it to the original template if it has only one parameter (e.g. this edit) October 2024
8 Change {{Unreferenced}} to {{BLP unsourced}} for articles in Category:Living people Approved Run against articles in the monthly subcategories of Category:Articles lacking sources and Category:Living people

Search for incategory:"All articles lacking sources" incategory:"Living people"

December 2024
9 Remove article categories from user pages per WP:USERNOCAT Approved On user pages, change any article categories from [[Category:Foo]] to [[:Category:Foo]] (e.g. this edit) Does not change any categories beginning with "Wikipedia" or "WikiProject". See Wikipedia:Database reports/Polluted categories. October 2024
13 Add parameter to {{Notability}} templates Approved For all articles with an infobox, add the appropriate parameter to {{Notability}}. For example, for articles with {{Infobox film}}, change {{Notability|date=October 2012}} to {{Notability|Films|date=October 2012}}. See more examples at User:BattyBot/Notability. December 2023
17 Fix {{Infobox company}} |num_employees= number format Approved Per WP:MOSNUM, replace full stop with comma (e.g. "7.000" → "7,000") December 2024
21 Update talk pages per Wikipedia:Talk page layout Approved If there are three or more WikiProject templates, add {{WikiProject banner shell}}. Perform any other talk page general fixes at the same time. See this edit for an example. See User:Magioladitis/WikiProjects for a list of rules and User:BattyBot/WikiProject groups for a list of groups to use. April 2024
23 Fix citation templates to add http:// to start of www URL when missing Approved Go through Category:CS1 errors: URL and use AWB's general fixes to add http:// to the start of the URL when missing.
Note: After running, check the spam black list log to see if any more domains should be added to the bot's skip list.
December 2024
24 Remove invalid |author= parameters from citation templates Approved When reference creation tools suggest citation templates to be added to articles, users sometimes save the suggestions without first removing/fixing incorrect |author= parameters. This bot removes/fixes those incorrect values (e.g. this edit) November 2024
25 Fix articles in Category:CS1 errors: dates Approved Find and replace incorrect date formats in citation templates (per MOS:DATEFORMAT) to remove Check date values in: |date messages displayed to readers and/or remove articles from Category:CS1 errors: dates. User:BattyBot/CS1 errors-dates contains the AWB module used for this task. See Help:Citation Style 1 for more information, and Help talk:Citation Style 1 for discussion.

Run in pre-parse mode with Auto Tag and General Fixes off, and then run for real with those on.

March 2024
28 Fix incorrect wikilinks in citation templates Approved Fix incorrect wikilinks in the work/journal/magazine/newspaper/publisher parameters of citation templates. For example: [[Billboard]][[Billboard (magazine)|Billboard]] (e.g. this diff) December 2024
29 Fix incorrect wikilinks in the |genre= parameter of music-related infoboxes Approved In the |genre= parameter of music-related infoboxes, fix incorrect wikilinks such as [[country]] to [[country music|country]] or [[metal]] to [[heavy metal music|metal]] (e.g. this edit). See User:BattyBot/Music genres for details. November 2024
30 Add |living=yes or |living=no to {{WikiProject Biography}} Approved For article talk pages in Category:Biography articles without living parameter, update {{WikiProject Biography}} for living people with |living=yes and dead people with |living=no. This would be determined as follows:
  • If the corresponding article contains [[Category:Living people]] or [[Category:Possibly living people]], add |living=yes (e.g. this edit)
  • If the talk page contains {{BLP}}, delete it and add add |living=yes (e.g. this edit)
  • If the corresponding article contains [[Category:#### deaths]], [[Category:####s deaths]], [[Category:### deaths]], [[Category:###s deaths]], [[Category:Year of death missing]], [[Category:Year of death uncertain]], [[Category:Year of death unknown]], [[Category:Date of death missing]], [[Category:Date of death unknown]], or [[Category:1?#(st|nd|rd|th)-century *]], add |living=no (e.g. this edit)
April 2024
32 Fix Category:Pages which use a template in place of a magic word Approved Uses WP:AWB/GF and find/replace rules December 2024
33 Remove article categories from pages in the Draft namespace Approved Expanded task 9 to pages in the Draft namespace per WP:DRAFTNOCAT October 2024
34 Add {{WikiProject Disambiguation}} to existing talk pages for all disambiguation pages Approved Per Wikipedia:WikiProject Disambiguation#Templates, this bot will NOT create talk pages that have no discussion.

Use this query - thanks EpicPupper!

February 2024
38 Fix wikilinks in {{Album ratings}} Approved Expands BattyBot 28 to also fix wikilinks in {{Album ratings}}, such as this edit. October 2024
39 Fix incorrect piped wikilinks Approved The pipe trick does not work in some places (such as within <ref> and <gallery> tags), which leaves code such as [[Subject (disambiguator)|]] visible to the readers. This bot would change these to [[Subject (disambiguator)|Subject]] so the intended wikilinks will be displayed properly. (e.g. this edit) February 2024
40 When adding {{WikiProject Disambiguation}} (task 34), also update |class=, |importance= and |auto= in other WikiProject templates Approved
  • If another WikiProject template has |class= stub, start, redirect, list, C, B, blank, etc., then change it to |class=dab.
  • If another WikiProject template has |importance= with any value other than NA, then remove the parameter.
  • If another WikiProject template has |auto= yes, stub, length, then remove the parameter.
January 2024
43 Remove maintenance templates from redirect pages Approved Remove stub templates and other maintenance templates (e.g. {{notability}}, {{unreferenced}}, {{refimprove}}) from redirect pages.

Search database dump with Singleline checked, Ignore comments checked and Ignore redirects unchecked for:

  • #REDIRECT\s*\[\[.+\]\].+{{.*?stubs?}}
  • #REDIRECT\s*\[\[.+\]\].+\[\[Category\:.*?stubs\]\] (should be done manually)
  • #REDIRECT\s*\[\[.+\]\].+{{(?:advert|COI|dead end|more citations needed|no footnotes|notability|one ?source|orphan|primary sources|refimprove|third-party|unreferenced|unsourced)
January 2024
46 Fix citations to remove articles from extra text maintenance categories Approved To remove articles from Category:CS1 errors: extra text: edition and Category:CS1 errors: extra text: pages, this bot task will fix citations that have parameters that contain text that duplicates static text provided by the template. (e.g. this edit) December 2024
49 Fix dates in template date parameters Approved Fix date misspellings in date parameters in other templates using the code at User:BattyBot/Date fixes. For example: January 2024
50 Combine {{portal}} templates Approved Combine multiple {{portal}} templates in articlespace and on category pages. January 2024
53 Remove Year/Date of birth missing categories Approved October 2024
55 Add {{uncategorized}} or {{uncategorized stub}} Approved Add {{uncategorized}} or {{uncategorized stub}} to articles listed in the toolsever app that are not categorized and not yet tagged with {{uncategorized}} or {{uncategorized stub}} October 2024
56 Fix layout per WP:LAYOUT Approved Use AWB general fixes to properly order "See also", "References", and "External links" sections

Search database dump with Limit results to: 50000

January 2024
57 Remove stub categories from articles that are not stubs Approved Perform a database search for \[\[Category\:([^]]+) stubs\]\] and change it to {{$1-stub}}. If AWB's general fixes then removes the stub template(s) due to the length of the article, the bot will save the edit (e.g. this edit). February 2024
59 Remove line breaks in citation templates that cause templates to not display properly Approved Search the database dump for citation templates such as (\{\{\s*[Cc]ite)\s*\n\s*(book|journal|news|web|GovTrack) and remove the line break by replacing them with $1 $2 like this. January 2024
61 Fix |nationality= field in various person infoboxes Approved Change values in the |nationality= field from country names to nationalities (e.g. United Kingdom or [[United Kingdom]] → British, United States or [[United States]] → American). See the list of infoboxes and countries/nationalities at User:BattyBot/Nationality. August 2023
62 Remove some empty sections Approved Remove empty Bibliography, Further reading, Gallery, Notes, See also, and External links sections, which may be tagged with {{empty section}}.

Also remove empty Trivia sections per WP:TRIVIA

December 2024
63 Fix drafts in maintenance categories Approved Expand tasks 32 and 46 to the Draft namespace January 2024
64 Fix citations to remove superfluous text from |volume= parameter Approved To remove articles from Category:CS1 errors: extra text: volume, this bot task will fix citations that contain variations of the word "Volume" in the |volume= parameter December 2024
65 Fix citations to remove extra punctuation Approved To remove articles and drafts from Category:CS1 maint: extra punctuation, this bot task will remove extraneous trailing punctuation or a leading equals sign from a parameter. December 2024
67 Fix citations with unrecognized language Approved To remove articles and drafts from Category:CS1 maint: unrecognized language, this bot task will fix citations that contain an invalid value in the |language= parameter. December 2024
68 Add WikiProject templates Approved Add WikiProject templates to a list of appropriate talk pages. November 2023
69 Fix |doi= parameters Approved Fix articles and drafts in Category:CS1 errors: DOI by removing https://doi.org/ or other domain name from the |doi= parameter of a citation template (e.g. this edit). November 2024
70 Remove WikiProject |needs-infobox= parameters from talk pages where the article has an infobox Approved
  1. Load a list of talk pages from a subset of subcategories of Category:Wikipedia infobox backlog
  2. Convert the list of talk pages to articles
  3. Preparse the list to skip those articles that do not contain an infobox
  4. Convert the list of articles back to talk pages
  5. Load the module User:Magioladitis/WikiProjects to convert redirects to WikiProject templates
  6. Run the job to remove WikiProject |needs-infobox= parameters and also general fixes
March 2024
72 Change {{Empty section}} to {{No plot}} Approved In empty "Plot" sections, change {{Empty section}} to the more specific {{No plot}} December 2024
74 Convert maintenance templates to their BLP variants Approved Use PetScan to search for intersection of "Category:All articles needing additional references" and "Category:Living people". Then convert the following templates as follows:
  • {{more citations needed}}{{BLP sources}}
  • {{more citations needed section}}{{BLP sources section}}
  • {{more citations needed|section}}{{BLP sources section}}
  • {{one source}}{{BLP one source}}
  • {{one source section}}{{BLP one source|section}}
  • {{one source|section}}{{BLP one source|section}}
  • {{more footnotes needed}}{{BLP more footnotes needed}}
  • {{no footnotes}}{{BLP no footnotes}}
  • {{primary sources}}{{BLP primary sources}}
  • {{self-published}}{{BLP self-published}}
  • {{unreferenced section}}{{BLP unreferenced section}}
  • {{unreferenced|section}}{{BLP unreferenced section}}
February 2024
75 Convert maintenance templates from their BLP variants Approved Perform the opposite of BattyBot 74: For articles in Category:#### deaths (but not in the last 3 years), convert BLP maintenance templates to their generic counterparts, such as: March 2024
76 Remove duplicate WikiProject banners Approved For pages in Category:Pages using WikiProject banner shell with duplicate banner templates, remove duplicate WikiProject templates (e.g. this edit). This bot's definition of "duplicate" is that the WikiProject template and every parameter is included the same WikiProject template on the same page. April 2024
77 Change {{Expand section}} to {{More plot}} Approved Similar to task 72, change {{Expand section}} to the more specific {{More plot}} February 2024
79 Fix/remove unknown WikiProject parameters Approved Fix WikiProject template parameters (e.g. impotanceimportance, importancelowimportance=low) and remove unsupported WikiProject template parameters to remove pages from subcategories of Category:WikiProject templates with unknown parameters. April 2024
82 Fix citations to remove superfluous text from |issue= parameter Approved To remove articles from Category:CS1 errors: extra text: issue, this bot task will fix citations that contain variations of the word "Volume" in the |issue= parameter (e.g. this edit). April 2024

Completed/Inactive

[edit]
Completed/Inactive bot tasks
Task # Task Status Brief Description
1 Merge supported templates into {{Multiple issues}} Approved
Inactive
Run against articles that have {{Multiple issues}} and another supported template, such as {{no footnotes}}. However, the new format of {{Multiple issues}} makes it more challenging to create a list and skip when no changes are made. More thought needed...
5 Diffuse the very large category Category:American novels Approved
Completed
Change to the appropriate sub-category of Category:American novels by century by using other categories on the same article (e.g. For all articles in Category:1987 novels, Category:American novels will be changed to Category:20th-century American novels.)
6 Fix the links to the online version of Encyclopædia Iranica Approved
Completed
Replace http://www.iranica.com/articles/title with http://www.iranicaonline.org/articles/title (e.g. this edit)
10 Change {{No footnotes}} to {{More footnotes}} if an article has at least one inline citation Approved
Completed
Will only make automated edits if <ref> contains a citation template or an external link, or if the article contains {{sfn}}. Will make manual edits when <ref> tags contain a reference. - Needs manual review
11 Change {{Cleanup}} to {{Cleanup-university}} or {{Cleanup-school}}. Approved
Completed
For all articles with {{Infobox university}}, change {{Cleanup}} to {{Cleanup-university}}.

For all articles with {{Infobox school}}, change {{Cleanup}} to {{Cleanup-school}}.

12 Change {{Cleanup}} to {{Video game cleanup}}. Approved
Completed
For all articles with {{Infobox video game}}, change {{Cleanup}} to {{Video game cleanup}}.
14 Change {{Cleanup}} to {{Cleanup-book}}. Approved
Completed
For all articles with either {{Infobox book}} or {{Infobox book series}}, change {{Cleanup}} to {{Cleanup-book}}.
15 Fix {{PGATour player}} Approved
Completed
Replace, e.g., {{PGATour player|02/23/71}} with {{PGATour player|22371}}
16 Fix {{Handbook of Texas}} templates and URLs Approved
Completed
Fix |id= parameter per Wikipedia:Bot requests/Archive 52#Handbook of Texas Online
18 Create sockpuppet categories Withdrawn Copy the list of categories from WP:Database reports/Red-linked categories with incoming links into AWB. Filter the list to only keep those that contain "sockpuppets of". If the category does not exist, create it with the template "{{Sockpuppet category}}"
19 Fix {{multiple issues}} |expert=, |rewrite= and |update= Approved
Completed
For all articles with {{multiple issues}} convert:
  • |expert= to {{expert-subject|date=mmmmm yyyy}}
  • |rewrite= to {{cleanup-rewrite|date=mmmmm yyyy}}
  • |update= to {{update|date=mmmmm yyyy}}

While making edits to articles containing these parameters, convert all other old style parameters into templates within {{multiple issues}} as well.

20 Remove invalid parameters in {{CongLinks}} Approved
Completed
{{CongLinks}}, used in External links, has a |washpo= parameter, for Washington Post. The Washington Post has changed their website, and now the link generated by this parameter in broken if the parameter value contains an underscore. This bot task will remove the invalid parameter value.

Also doing for invalid |votesmart= parameters, as values with a letter no longer work.

22 Remove invalid citation parameters Approved
Completed
Recent changes to the citation templates now display deprecated parameters as errors for all to see. This request is to be able to programatically remove those parameters as needed, such as 300+ instances of |curly=y from {{cite news}}. (Suggestions welcome for additional parameters to be removed.)
26 Convert {{multiple issues}} parameters to templates Denied Convert all of the deprecated parameters in {{multiple issues}} into templates (e.g. this edit). This work would be done in order to implement a simplified (possibly Lua) version of {{multiple issues}}, and allow the AWB developers to streamline some of their code.
27 Fix links to http://www.neilbrown.newcastlefans.com/ Approved
Completed
For all the instances of urls referencing Neil Brown's site to be changed from .htm to .html. The URLs to be changed are of the form www.neilbrown.newcastlefans.com/ followed by a variable part and then .htm, e.g. www.neilbrown.newcastlefans.com/player/barriethomas.htm.
31 Remove language icon templates from citation templates Approved Change |language={{se icon}} to |language=se so the value is displayed properly. See list at User:BattyBot/Language icon templates. See Category:CS1 maint: unrecognized language
35 Replace link to Portal:People's Republic of China with Portal:China Approved
Completed
Change {{Portal|People's Republic of China}} → {{Portal|China}}, and remove any duplicates created by this process (e.g. {{Portal|People's Republic of China|China}} → {{Portal|China|China}} → {{Portal|China}})
36 Fix links to "Outline of Ascomycota - 2007" Approved
Completed
Fix links for "Outline of Ascomycota - 2007" from http://www.fieldmuseum.org/myconet/outline.asp to http://archive.fieldmuseum.org/myconet/outline.asp (e.g. this edit)
37 Categorize articles with video clips Approved
Dead link
Add to Category:Articles containing video clips to articles listed here
41 Remove deprecated |format= from {{Infobox television}} Approved
Completed
For each page in Category:Articles passing format parameter to Infobox television, remove the |format= parameter and perform any AWB general fixes
42 Replace ForaDeJogo.net links with {{ForaDeJogo}} and {{ForaDeJogo manager}} Approved
Completed
Change external links to ForaDeJogo.net to {{ForaDeJogo}} and {{ForaDeJogo manager}} (e.g. this edit), and do not change links inside citation templates.
44 Replace Soccerway.com links with {{Soccerway}} Approved
Completed
Change external links to Soccerway.com to {{Soccerway}}, and do not change links inside citation templates.
45 Replace Footballzz.co.uk links with {{Zerozero profile}} and {{Zerozero manager}} Approved
Completed
Change external links to Footballzz.co.uk to {{Zerozero profile}} and {{Zerozero manager}}, and do not change links inside citation templates.
47 Remove deprecated {{Persondata}} template ONLY when the only value is in the |NAME= parameter Approved
Completed
This bot request is to ONLY delete those templates where the ONLY value in {{Persondata}} is in the |NAME= parameter. This bot runs in mainspace and the Draft namespace. If there are values in any other parameter, it will not make any edits. Uses User:BattyBot/Blank Persondata as custom module.
48 Fix |lastauthoramp= parameters in citation templates Approved
Completed
To remove articles from Category:CS1 errors: invalid parameter value, this bot task will change the value of |lastauthoramp= from "1" or "&" to "y", and remove the parameter if the value is "n" or "no".
51 Remove hashbangs from Twitter URLs Approved
Completed
Change URLs of the form http://twitter.com/#!/foobar to https://twitter.com/foobar (with variations for URLs with https and www.twitter.com. (Hashbang URLs do not work without JavaScript, so this is an accessibility concern.)
52 Replace dead links with {{OHC NRHP}} Approved
Completed
Change [http://ohsweb.ohiohistory.org/ohpo/nr/details.aspx?refnum=XXXXXXXX Words] to {{OHC NRHP|XXXXXXXX|Words}}
54 Fix "Full-rigged ship" parameter value Approved
Completed
Change "Full rigged ship" to "Full-rigged ship"
58 Remove Category:United States Supreme Court cases Denied {{Infobox US Supreme Court case}} now automatically places articles into Category:United States Supreme Court cases, so this bot was intended to remove the explicit [[Category:United States Supreme Court cases]] from mainspace pages that transclude that template. Denied per WP:TEMPLATECAT.
60 Fix broken external links to Department of Census and Statistics -Sri Lanka Approved
Completed
Replace * [http://www.statistics.gov.lk/home.asp Department of Census and Statistics -Sri Lanka] with *{{DCS Sri Lanka}}
66 Fix some ambiguous links to Hollywood Withdrawn Convert \[\[Hollywood\]\], *\[\[(California|Los Angeles)\]\] and \[\[Hollywood\]\], *(California|Los Angeles)\b to [[Hollywood, $1]]
71 Remove {{CatAutoTOC}} from Category pages containing {{Stub category}} Approved
Completed
When a category contains both {{Stub category}} and {{CatAutoTOC}}, the table of contents can appear twice. Therefore, this bot task is intended to remove {{CatAutoTOC}} when {{Stub category}} is present.
73 Fix state parameter in {{WikiProject U.S. Roads}} Approved
Completed
Fix the |state= (and |type= in the {{WikiProject U.S. Roads}} as follows:
  • \| *type *= *CR *\| *state *= *(NY|FL)-CRTF|type=CR|state=$1
  • \| *state *= *(NY|FL)-CRTF(?: *\| *type *= *CR)?|state=$1|type=CR
78 Remove url-access info from citation with dead URL Request expired For citation templates with dead domains (e.g. www.higbeam.com), remove the |url-access= parameter (e.g. this edit) and/or {{subscription required}} template (e.g. this edit).
80 Fix Australian Dictionary of Biography CS1 template errors Approved
Completed
Fix {{cite book}} references to the Australian Dictionary of Biography in articles containing Category:CS1 errors: periodical ignored by doing the following:

For examples, see this edit and this edit and this edit.

81 Replace {{coord missing}} with {{coord|source:wikidata|display=title}} Withdrawn Category:Articles missing coordinates with coordinates on Wikidata contains articles tagged with {{coord missing}} that have coordinates available on Wikidata. This bot would replace {{coord missing}} with {{coord|source:wikidata|display=title}} which will fetch the coordinates from Wikidata (e.g. this edit).

General fixes

[edit]

When BattyBot is running one of the tasks above, you may notice it makes additional changes. These changes are part of AutoWikiBrowser's general fixes. Clicking on the "general fixes" link in the edit summary will take you to the list of these fixes. To discuss the general fixes with the AWB developers, you can start a discussion at Wikipedia talk:AutoWikiBrowser. If you're concerned about edits made to a particular article, please let me know and I'll be happy to work with you to improve the article.