Jump to content

User:MikeVitale/scripts/medals

From Wikipedia, the free encyclopedia

Overview

[edit]

Replace instances of deprecated sports medal templates with bad sorting with updated templates.

Deprecated Template Replace With
{{goca}} {{gold1}}
{{gold01}}
{{sica}} {{silver2}}
{{silver02}}
{{brca}} {{bronze3}}
{{bronze03}}

Installation

[edit]

To install, add the following line to your personal JavaScript page:

importScript('User:MikeVitale/scripts/medals.js');

Usage

[edit]

After installation, hit refresh in your browser. When you are editing a page, the installed script will add a "Medal Fixer" option to the "Tools" drop-down tab at the top."

Use can use the "Medal Fixer" tool when you're editing an article. Pressing it will make the fixes, leaving you viewing the changes. You should review the changes because the tool will occasionally (rarely) make a mistake. You can undo changes or make your own changes, then hit "Save page" when done.