Jump to content

User:ButlerBlogBot/Task 2

From Wikipedia, the free encyclopedia

Status:  approved


stop 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:

This includes the correct use of {{Start date}}, {{End date}}, and removing {{Start date}} format of the {{Episode list}} |AltDate=.

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=
  • Remove "File:" or "Image:" when infobox uses |image=
  • Remove "px" specification from |image_size=
  • Remove |italic_title=yes (which is invalid).
  • Replace {{Film date}} with {{Start date}}
  • Replace alias parameters
    • "host" => "presenter"
    • "studio" => "company"
  • Replace flag icons
  • Convert self link in |list_episodes=
  • Link |network= and |channel=

Fixes in {{Series overview}}

  • Converts |startN= to |releasedN= when there is no |endN=

Fixes in {{Episode table}}

  • Removes unknown parameters

Fixes in {{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 {{Infobox television}}, lists need to apply {{Plainlist}} or {{Unbulleted list}}. However, in {{Infobox television episode}}, the {{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 <br> lists with a bulleted list or it removes {{Plainlist}} markup.

Other general fixes

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

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 - (current version) fixes lists in {{Infobox television episode}}

Maintenance categories monitored

[edit]

This task monitors the following maintenance categories from the television project:

Other minor tasks:

Also running on: