User:GrammarEnthusiast/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin can be added at User:GrammarEnthusiast/common.css. |
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");