User:Javert2113/common.js

importScript('User:Evad37/MoveToDraft.js'); // Backlink: User:Evad37/MoveToDraft.js importScript('User:Writ Keeper/Scripts/teahouseUtility.js'); // Backlink: User:Writ Keeper/Scripts/teahouseUtility.js importScript('User:SD0001/DYK-helper.js'); // Backlink: User:SD0001/DYK-helper.js importScript('User:Writ Keeper/Scripts/teahouseTalkback.js'); // Backlink: User:Writ Keeper/Scripts/teahouseTalkback.js importScript('User:Lourdes/PageCuration.js'); // Backlink: User:Lourdes/PageCuration.js importScript('User:Evad37/rater.js'); // User:Evad37/rater importScript('User:Writ Keeper/Scripts/teahouseTalkbackLink.js'); // Backlink: User:Writ Keeper/Scripts/teahouseTalkbackLink.js

importScript('User:Ocaasi/WikiLoveinstallscript.js'); // Backlink: User:Ocaasi/WikiLoveinstallscript.js importScript('User:Frietjes/findargdups.js'); // Backlink: User:Frietjes/findargdups.js

/** * https://en.wikipedia.org/wiki/Wikipedia:SCOTUS helper code * @author MZMcBride * Warning: This code is really bad and is shamelessly stolen from * https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization#Default_sections */

var infobox = new Array( "" );

var customizeToolbar = function { /* Add a little gavel icon to insert "Infobox SCOTUS case" into an article */ $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {       'section': 'main',        'group': 'insert',        'tools': {                'smile': {                        label: 'Insert "Infobox SCOTUS case"', // or use labelMsg for a localized label, see above                        type: 'button',                        icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Farm-Fresh_auction_hammer_gavel.png/22px-Farm-Fresh_auction_hammer_gavel.png',                        action: {                                type: 'encapsulate',                                options: {                                        pre: infobox.join('\n') + '\n' + '\n' // text to be inserted                                }                        }                }        } } ); };

/* Check if we are in edit mode and the required modules are available and then customize the toolbar */ if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { mw.loader.using( 'user.options', function {                if ( mw.user.options.get('usebetatoolbar') ) {                        mw.loader.using( 'ext.wikiEditor', function  { $(document).ready( customizeToolbar ); } );               }        } ); } mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/previewAndDiff.js&action=raw&ctype=text/javascript');

importScript('User:Equazcion/ScriptInstaller.js'); // Backlink: User:Equazcion/ScriptInstaller.js importScript('User:Enterprisey/orcp-helper.js'); // Backlink: User:Enterprisey/orcp-helper.js importScript('User:Shubinator/DYKcheck.js'); // Backlink: User:Shubinator/DYKcheck.js importScript('User:Shubinator/DYKcheck.js'); // Backlink: User:Shubinator/DYKcheck.js importScript('User:Equazcion/OneClickArchiver.js'); // Backlink: User:Equazcion/OneClickArchiver.js

importScript('User:Galobtter/scripts/adminhighlighter.js'); // Backlink: User:Galobtter/scripts/adminhighlighter.js //importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: User:Bradv/Scripts/Superlinks.js importScript('User:Lourdes/PageCuration.js'); // Backlink: User:Lourdes/PageCuration.js importScript('User:Evad37/MoveToDraft.js'); // Backlink: User:Evad37/MoveToDraft.js importScript('User:Enterprisey/rc-thanks.js'); // Backlink: User:Enterprisey/rc-thanks.js