User:Guywan/Scripts/RefCruncher
Appearance
Reference Cruncher | |
---|---|
Description | 'Collapses' references into small, unobtrusive tags. |
Author(s) | Guywan |
Status | Beta |
First released | December 3, 2019 |
Version | 23.03.20 |
Updated | March 23, 2020 |
Skins | All skins supported. |
Source | User:Guywan/Scripts/RefCruncher.js |
Ref Cruncher
[edit]Ref Cruncher allows you to 'crunch' references into small, unobtrusive tags.
The script is activated while in edit mode by pressing Ctrl+Alt+R.
This is an example.<ref>http://example.com</ref>
This is an example.<ref 0/>
Of course, this provides only an inkling as to the usefulness of Ref Cruncher. Some references are so large that it is hard to see where references end and prose begins. To 'uncrunch' the refs, press Ctrl+Alt+R again. Remember to do this before saving, as the script will not do this automatically.
Installation
[edit]To use this script, add the following to your common.js
(or other):
mw.loader.load("/w/index.php?title=User:Guywan/Scripts/RefCruncher.js&action=raw&ctype=text/javascript"); // Backlink: [[User:Guywan/Scripts/RefCruncher.js]]