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

Primary functions

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

Date fixes include the following:

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 normalize the {{Start date}} format in the format {{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 {{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 flag icons
  • Convert self link in |list_episodes=
  • Link |network= and |channel=

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 {{Film date}} with {{Start date}} and {{End date}}
  • 1.5
  • 1.6 - fixes lists in {{Infobox television episode}}
  • 2.0 - complete overhaul, compartmentalizes commonly used regexes, more focused template limits (i.e. doesn't edit dates in other templates)
  • 2.1
  • 2.2
  • 2.3 - updated to fix additional issues in {{Series overview}}
  • 2.4 - current production version - fixes bug that misses leading zeroes when unformatting |AltDate= in MDY dates, adds back some date fixes for {{Infobox television episode}}

Unit tests

Maintenance categories monitored

Related Articles

Wikiwand AI