User:ButlerBlogBot/Task 2
Status:
approved
Is a bot task malfunctioning? Post a message on the bot talk page to stop the bot.
Description
[edit]Primary functions
[edit]The primary objective of this task is to fix formatting problems, especially dates, per the documentation for the following templates:
- {{Infobox television}}
- {{Episode list}}
- {{Series overview}}
Date fixes includes the following:
- Formatting unformatted dates as {{Start date}} or {{End date}}
- Removing {{Start date}} format of the {{Episode list}}
|AltDate= - Replace {{Film date}} with {{Start date}} in {{Infobox television}}
- Converts
|startN=to|releasedN=when there is no|endN=in {{Series overview}}
Generally, the bot will not make minor date formatting edits or update alias parameters unless it is making a larger change. However, if other changes and fixes are made, the bot will also fix {{Start date}} format so that it is in the format of {{Start date|YYYY|MM|DD|df=yes}} (with leading zeroes and df specification at the end).
Additional functions
[edit]This task applies other general fixes for {{Infobox television}}, {{Episode table}}, {{Episode list}}, and {{Series overview}} per each template's documentation:
Fixes in {{Infobox television}}
- Remove unnecessary use of
|name=: See name param documentation - Remove deprecated parameters: The following parameters have been deprecated. See notes at template docs
|preceded_by=|followed_by=|distributor=|first_run=|production_website=|production_website_title=|show_name=|audio_format=|picture_format=
- Fix known/common invalid parameters: removes unknown parameters and attempts to update commonly misspelled or misused parameters.
- convert
|opentheme=to|open_theme= - convert
|endtheme=to|end_theme=
- convert
- Remove "File:" or "Image:" when infobox uses
|image= - Remove "px" specification from
|image_size= - Remove
|italic_title=yes(which is invalid) - Replace flag icons
- Convert self link in
|list_episodes= Link|network=and|channel=
Change log
[edit]- 1.0 - original fixes listed above
- 1.1. - unrecorded updates
- 1.2 - add removal of {{start/end-date}} {{start/end date text}}, reformatting of {{start/end date and age}}
- 1.3 - adds support for {{start and end date}}
- 1.4 - replaces {{Film date}} with {{Start date}} and {{End date}}
- 1.5
- 1.6 - fixes lists in {{Infobox television episode}}
- 2.0 - current production version; complete overhaul, compartmentalizes commonly used regexes, more focused template limits (i.e. doesn't edit dates in other templates)
Maintenance categories monitored
[edit]This task monitors the following maintenance categories from the television project:
- Infobox television with unknown parameters (limited to common errors/misspellings/capitalization)
- Infobox television with nonstandard dates
- Infobox television with unnecessary name parameter
- Episode lists with unformatted air dates
- Episode lists with incorrectly formatted alternative air dates
Pages using infobox television episode with nonstandard dates(ignored in 2.0)Pages using infobox television episode with unnecessary list markup(ignored in 2.0, handled by bot task 5)
Other minor tasks:
- Pages using infobox television with flag icon
- Pages using infobox television with list episodes parameter using self-link
- Series overview with deprecated start-parameter format (limited)
Pages using infobox television with unlinked values(ignored in 2.0)Pages using episode table with unknown parameters(ignored in 2.0)