User:Alex 21/script-formatdates

User:Alex 21/script-formatdates.js is a script that formats usages of {{Episode list}}, so that |OriginalAirDate= uses {{Start date}}, and |AltDate= does not, per the template's documentation.

Installation

edit

To install the script, add:

importScript('User:Alex 21/script-functions.js');
importScript('User:Alex 21/script-formatdates.js');

to Special:MyPage/common.js.

>>> User:Alex 21/script-functions.js is required to include multiple shared functions, and the custom "TV Scripts" header, many of which are used identically in a few of my other scripts - you only need to include it in Special:MyPage/common.js once. Follow the instructions at User:Alex 21/script-functions for installing scripts by Alex 21. <<<

There will be a "Format airdates" link in the toolbox on the left on every article. Click it while in editing mode to update the dates in question, so that |OriginalAirDate= uses {{Start date}}, and |AltDate= does not, per the template's documentation.

Bugs

edit

Please report any bugs on the talk page of the script's creator.

See also

edit