User:ButlerBlogBot/Task 2

Status: File:Symbol confirmed.svg approved

{{stop}} Is a bot task malfunctioning? Post a message on the bot talk page to stop the bot.

Description

=Primary functions=

The primary objective of this task is to fix formatting problems, especially dates, per the documentation for the following templates:

  • {{tl|Infobox television}}
  • {{tl|Infobox television episode}}
  • {{tl|Episode list}}
  • {{tl|Series overview}}

Date fixes includes the following:

  • Formatting unformatted dates as {{tl|Start date}} or {{tl|End date}}
  • Removing {{tl|Start date}} format of the {{tl|Episode list}} {{Para|AltDate}}
  • Replace {{tl|Film date}} with {{tl|Start date}} in {{tl|Infobox television}}
  • Converts {{para|startN}} to {{para|releasedN}} when there is no {{para|endN}} in {{tl|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 {{tl|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=

This task applies other general fixes for {{tl|Infobox television}}, {{tl|Episode table}}, {{tl|Episode list}}, and {{tl|Series overview}} per each template's documentation:

Fixes in {{tl|Infobox television}}

  • Remove unnecessary use of {{para|name}}: See name param documentation
  • Remove deprecated parameters: The following parameters have been deprecated. See notes at template docs
  • {{para|preceded_by}}
  • {{para|followed_by}}
  • {{para|distributor}}
  • {{para|first_run}}
  • {{para|production_website}}
  • {{para|production_website_title}}
  • {{para|show_name}}
  • {{para|audio_format}}
  • {{para|picture_format}}
  • Fix known/common invalid parameters: removes unknown parameters and attempts to update commonly misspelled or misused parameters.
  • convert {{para|opentheme}} to {{para|open_theme}}
  • convert {{para|endtheme}} to {{para|end_theme}}
  • Remove "File:" or "Image:" when infobox uses {{para|image}}
  • Remove "px" specification from {{para|image_size}}
  • Remove {{para|italic_title|yes}} (which is invalid).
  • Replace alias parameters
  • "host" => "presenter"
  • "studio" => "company"
  • Replace flag icons
  • Convert self link in {{para|list_episodes}}
  • Link {{para|network}} and {{para|channel}}

Fixes in {{tl|Episode table}}

  • Removes unknown parameters

Fixes in {{tl|Infobox television episode}}

The episode infobox is a lot like the general television infobox with some formatting exceptions. One major difference is how lists are handled. In {{tl|Infobox television}}, lists need to apply {{tl|Plainlist}} or {{tl|Unbulleted list}}. However, in {{tl|Infobox television episode}}, the {{tl|Plainlist}} is applied automatically, so this does not need to be applied to the parameter manually. This bot task scans for this and either replaces
lists with a bulleted list or it removes {{tl|Plainlist}} markup.

Change log

  • 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 {{Tl|Film date}} with {{Tl|Start date}} and {{Tl|End date}}
  • 1.5
  • 1.6 - (current version) fixes lists in {{tl|Infobox television episode}}

Maintenance categories monitored