User:Mesidast/Tidy citations

A forked and updated version of this script by Meteor sandwich yum.

Improvements
Here is a list of new features that I have added:
 * Handling for hyphenated parameters
 * Convert deprecated parameters to new hyphenated equivalents
 * Compatible with syntax highlighter
 * Compatible with WikEd
 * Automatic modular edit summary
 * Works with nested templates (e.g. | or = )
 * Removes |url-status=live if no archive link is found

Customisation
To disable any features listed below insert the following code at the top of your [ common.js] page and change the 'true' to 'false':

Installing the script
Disclaimer: You are solely responsible for all edits made using this script, make sure to check the changes before saving an article.


 * Method 1 – ScriptInstaller (Automatic)
 * 1) Go in the 'Gadgets' tab of your preferences and select the 'Install scripts without having to manually edit JavaScript files' option at the bottom of the 'Advanced' section. Refresh this page after enabling that.
 * 2) Click on the 'Install' button in the infobox on the right, or at the top of the source page.


 * Method 2 – Manual
 * 1) Go to [ Special:MyPage/common.js]. (Alternatively, you can go to Special:MyPage/skin.js to make the script apply only to your current skin.)
 * 2) Add  to the page, like this.
 * 3) Save the page and bypass your cache to make sure the changes take effect.