User:Renamed user 14gadkagdkhak/common.js

importScript('User:Lupin/recent2.js'); importScript('User:Equazcion/NoEditSandbox.js'); //Linkback: User:Equazcion/NoEditSandbox ('User:TheDJ/sharebox.js'); // Backlink: User:TheDJ/sharebox.js importScript('User:Rezonansowy/SimpleLightbox.js'); // Backlink: User:Rezonansowy/SimpleLightbox.js

function smallerTemplates {	mw.util.addCSS('\		.mbox-image div, .mbox-image .image, .mbox-imageright { display: none; }\		table.ambox { margin: 0 15%; }\		table.ambox { border-radius: 0px; }\	'); formatBoxes('ambox-content'); formatBoxes('ambox-delete'); formatBoxes('ambox-move'); formatBoxes('ambox-notice'); formatBoxes('ambox-protection'); formatBoxes('ambox-style'); } function formatBoxes(className) {	mw.util.addCSS('.' + className + ' td { padding: 0 0.25em !important; font-size: 10px !important; line-height: 1.5em; }'); $('.' + className).each(function { boxInit($(this)); }); } function boxInit(box) {		// Collapse the box, using Wikipedia's own "hide" button. var collapseButton = $('.collapseButton:first > a:first', box); if (collapseButton.text == 'hide') collapseButton.click; } if (mw.util.getParamValue('disable') != 'smalltemplates' && ((mw.config.get('wgCanonicalNamespace') == '' || mw.config.get('wgPageName') == 'User:Gary_King/Sandbox' || mw.config.get('wgPageName') == 'Wikipedia:Template_messages/Cleanup') && mw.config.get('wgAction') == 'view')) $(smallerTemplates);} importScript('User:Numbermaniac/goToTop.js'); // User:Numbermaniac/goToTop.js $(googleTitle); function googleTitle {		if(wgCanonicalNamespace == "") {			var subjectName; if(wgPageName.charAt(wgPageName.length - 1) == ")")			{				subjectName = wgPageName.substring(0, wgPageName.lastIndexOf("(") - 1); }			else {				subjectName = wgPageName; }			var searchNode = document.createElement("a"); searchNode.href = "http://www.google.com/search?q=" + encodeURIComponent(subjectName.replace(/_/g, " ")) + "+-wikipedia.org"; searchNode.target = "_blank"; searchNode.innerHTML = " Search Google "; document.getElementById("firstHeading").appendChild(searchNode); } } importScript('User:Anomie/linkclassifier.js'); // Linkback: User:Anomie/linkclassifier.js // User:Lenore/autolink importScript('User:Lenore/autolink.js'); importScript('User:Equazcion/ScriptInstaller.js'); // Backlink: User:Equazcion/ScriptInstaller.js importScript("User:PleaseStand/highlight-comments.js"); importScript('User:The Evil IP address/hdedit.js'); importScript('User:קיפודנחש/TemplateParamWizard.js'); mw.loader.load('//bits.wikimedia.org/he.wikipedia.org/load.php?debug=false&lang=he&modules=ext.gadget.autocomplete'); importScript('User:Js/ajaxPreview.js'); // user:js/ajaxPreview mw.loader.load("//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript"); // // Edit tools for the vandal whack-a-mole game // User:Kbh3rd/whackamole.js - please include this line // importScript('User:Kbh3rd/whackamole.js'); importScript('User:Nageh/rollbackSum.js');