ShortCutter

ShortCutter is a library for adding a shortcut to the wiki-tools you can see on the fandom-community-header and the fandom-sticky-header.
== Importing ==
To import the library in your own scripts, use:
importArticle({
 type: 'script',
 article: 'u:dev:MediaWiki:ShortCutter.js'
});
== ==
=== Methods ===
; window.dev.ShortCutter.add(options, after, before)
:; options
::;href
::;id
::;class
::;title
::;accesskey
::;icon
: after
: before
== ==
importArticle({
 type: 'script',
 article: 'u:dev:MediaWiki:ShortCutter.js'
}).then(function () {
 window.dev.ShortCutter.add({
 id: 'random',
 href: mw.util.getUrl('Special:Random')
 });
});