User:Corkythehornetfan/common.js

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); // Add WP:Reflinks launcher in the toolbox on left $(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "http://dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName') + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'), "Reflinks" // link label )}); importScript('User:ערן/plagiabot.js'); mw.loader.load( "https://commons.wikimedia.org/w/index.php?title=User:Rillke/SVGedit.js&action=raw&ctype=text/javascript" );

//translate the following: mw.messages.set({	've-SearchAndReplaceDialog-title': 'Search and replace',	've-SearchAndReplaceDialog-from-label': 'From:',	've-SearchAndReplaceDialog-to-label': 'To:',	've-SearchAndReplaceDialog-from-placeholder': 'From text',	've-SearchAndReplaceDialog-to-placeholder': 'To text',	've-SearchAndReplaceDialog-replaceAll': 'Replace all',	've-SearchAndReplaceDialog-replace': 'Replace',	've-SearchAndReplaceDialog-matchcase': 'Match case',	've-SearchAndReplaceDialog-replace-complete': 'Found and replaced $1 occurrences',	've-ReplaceTool-ToolbarButton': 'Replace' }); //end of translations mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function{	mw.libs.ve.addPlugin( function { return $.getScript('https://en.wikipedia.org/w/index.php?title=User:ערן/veReplace.js&action=raw&ctype=text/javascript'); } ); });

importScript('User:Equazcion/CustomSummaryPresets.js'); //Linkback: User:Equazcion/CustomSummaryPresets.js var customsum1 = "Not notable."; var customsum2 = "WP:NOTUSA, MOS:HEADINGS, WP:EL"; var customsum3 = "WP:NOTUSA, MOS:HEADINGS, WP:EL, not notable"; var customsum4 = "WP:NOTTVGUIDE"; var customsum5 = "logo"; var customsum6 = "updated colors"; var customsum7 = "seal, logo, colors, etc."; var customsum8 = "colors"; var customsum9 = "updated"; var customsum10 = "reply";

/* Adds a toolbox link to do a copyvio check on the given page. */

mw.loader.using("mediawiki.util", function {   mw.util.addPortletLink( "p-tb", "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase + "&title=" + encodeURIComponent(mw.config.get("wgPageName")), "Copyvio check", "t-copyvio-check", "Check this page for copyright violations" ); });

/* * Automatically tick the "Move subpages" option when moving pages. */ var moveSubpagesBox = document.getElementsByName("wpMovesubpages")[0]; if (moveSubpagesBox !== undefined) { moveSubpagesBox.checked = true; }

importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: User:Andy M. Wang/pageswap

importScript('User:Ohconfucius/script/MOSNUM dates.js'); // User:Ohconfucius/script/MOSNUM dates.js

importScript('User:Lourdes/PageCuration.js'); // Linkback: User:Lourdes/PageCuration.js