Jump to content

User:MorbidEntree/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MorbidEntree (talk | contribs) at 11:19, 17 June 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//Admin Highlighter
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript'); // [[User:Theopolisme/Scripts/adminhighlighter.js]]

//Dupe Link Checker
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]

//Link Classifier
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
LinkClassifierOnDemand=true;
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
mw.util.addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'Link Classifier');

// sMirC Emoticons-bar for the WikiEditor [[File:User:Perhelion/WikiEditorEmoticons.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Perhelion/WikiEditorEmoticons.js&action=raw&ctype=text/javascript&maxage=86400&bcache=1');

//Custom Header Links
$('#p-interaction').clone(true).insertAfter($('#p-interaction')).addClass('mylinks').removeAttr('id').find('h3').text('Tool Belt');
$('.mylinks li').remove();
$('.mylinks .pBody ul').append('<li><a class="myLinks1"></a></li>');
$('.mylinks .pBody ul').append('<li><a class="myLinks2"></a></li>');
$('.mylinks .pBody ul').append('<li><a class="myLinks3"></a></li>');
$('.mylinks .pBody ul').append('<li><a class="myLinks4"></a></li>');

// Set each new link's text and url
$('.myLinks1').text('Dashboard').attr('href', 'https://en.wikipedia.org/wiki/User:MorbidEntree/dashboard');
$('.myLinks2').text('Template Tagging').attr('href', 'https://en.wikipedia.org/wiki/Wikipedia:Template_messages');
$('.myLinks3').text('Cleanup Tags').attr('href', 'https://en.wikipedia.org/wiki/Wikipedia:Template_messages/Cleanup#General_cleanup');
$('.myLinks4').text('List of InfoBoxes').attr('href', 'https://en.wikipedia.org/wiki/Wikipedia:List_of_infoboxes');

//Rater
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]

//Sources
importScript('User:Ohconfucius/script/Sources.js'); // [[User:Ohconfucius/script/Sources.js]]