User:PumpkinSky/common.js

// importScript('User:Cameltrader/Advisor.js');

importScript('User:Ucucha/duplinks.js'); // User:Ucucha/duplinks

importScript('User:Smith609/toolbox.js');

importStylesheet("User:Br'er Rabbit/sandbox.css");

//from post to talk page on 24 Aug 2012 importScript('User:Equazcion/ActiveWatchers.js'); //shows a count of the number of watchers who are actively editing importScript('User:Dr_pda/prosesize.js'); //adds a link to toolbar to count words on page importScript('User:Ohconfucius/script/formatgeneral.js'); //general formatting

//By User:Animum — this script aids with tagging articles for OTRS source information using. importScript('User:Animum/urlparameters.js'); //A library that is essential to this script. var data = {}; data.submit = function { document.editform.wpTextbox1.value = "\n" + document.editform.wpTextbox1.value; //New text in the edit form. document.editform.wpSummary.value = "Adding OTRS permission information."; //Summary. document.editform.wpMinoredit.checked = false; //Not a minor edit. document.editform.wpWatchthis.checked = false; //Let's not watchlist this. document.editform.submit; //Submit. } addOnloadHook(function { if(UrlParameters["action"] == "edit" && wgNamespaceNumber == 1 && UrlParameters["otrsSource"] == 1) document.getElementById("contentSub").innerHTML += '  '; //Make the form for the URL and ticket number. }); addOnloadHook(function { if(wgNamespaceNumber == 1 && !UrlParameters["otrsSource"]) mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + wgPageName + "&action=edit&otrsSource=1", "OTRS-TEXT", "ca-otrstext"); //Add the tab. });

importScript('User:קיפודנחש/TemplateParamWizard.js'); //