User:AlexTheWhovian/script-seriesoverview

From wikishia

User:AlexTheWhovian/script-seriesoverview.js is a script that transforms a tabular series overview for television series to the templated version {{Series overview}}.

Installation

To install the script, add:

importScript('User:AlexTheWhovian/script-functions.js');
importScript('User:AlexTheWhovian/script-seriesoverview.js');

to Special:MyPage/common.js.

User:AlexTheWhovian/script-functions.js is required to include multiple shared functions, 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.

There will be a "Series overview" link in the toolbox on the left on every article. This script assumes that the first table on an television series' episodes page is the series overview - if it is not, and another table appears before the overview, then manually add the attribute id="seriesoverview" to the series overview table via the Inspect Element feature of your browser. This will override the first-table assumption.

Click the "Series overview" link to convert the tabular overview to the template, which will be saved in your clipboard - you will be directed to the edit page. Once in edit mode, pasted the copied series overview where it belongs, manually replacing references as you do so. Save the page.

Bugs

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

See also