Jump to content

User:GrammarEnthusiast/common.js

From Wikipedia, the free encyclopedia
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.
importScript('User:Anomie/linkclassifier.js'); // Linkback: User:Anomie/linkclassifier.js
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: User:Anomie/linkclassifier.css

importScript('User:Amalthea/userhighlighter.js');
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]

mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:PrefixIndex/"+mw.config.get('wgPageName')+"/"), 'Subpages');

// Add Hilarious Username to WikiLove barnstar options (not a barnstar but use an existing type)
mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
$.wikiLoveOptions.types.barnstar.subtypes.hilarious = {
    fields: [ 'header', 'message' ], // fields to ask for in form
    option: 'Hilarious Username', // option listed in the select list
    descr: 'Hilarious Username may be posted to a user whose username made you chuckle',
    header: 'Hilarious Username', // header that appears at the top of the talk page post (optional)
    title: 'Hilarious Username',
    message: 'Your username is quite amusing. Thanks for the chuckle!',
    image: 'Felix Cat-Haha (transp sharp).png', // image for the item
    imageSize: '120px' // size to display image (optional)
};
} );

/* User:Equazcion/OneClickArchiver.js */ //importScript( 'User:Equazcion/OneClickArchiver.js' );// Backlink: [[User:Equazcion/OneClickArchiver.js]]

importScript("User:PleaseStand/segregate-refs.js");