User:Josh3580/monobook.js

// Script from User:Lupin/recent2.js mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/recent2.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

//Lupin's edit counter importScript('User:Lupin/editcount.js'); //User:Lupin/editcount.js popupEditCounterTool='custom'; popupEditCounterUrl='http://en.wikipedia.org/wiki/User:$1?ectarget=$1';

//

//User:Lupin/popups.js importScript('User:Lupin/popups.js');

//qSig "Smart Sig" button if ((wgNamespaceNumber % 2 || wgNamespaceNumber==4) && document.URL.match(/&action=(edit|submit)/)) $(function{

var wpSave = document.getElementById('wpSave'); if (!wpSave) return;

if (window.sigText) //change normal sig button as well mwEditButtons[9].tagOpen = sigText; else sigText = '--\';

//create button var btn = document.createElement('input'); btn.type='button'; btn.value = '~'; btn.onclick = function{ insertTags(sigText,,) }; btn.style.marginRight = '4px'; btn.title = 'Put your signature'; if (window.sigAccessKey){ btn.accessKey = sigAccessKey; btn.title += ' [' + tooltipAccessKeyPrefix + btn.accessKey + ']'; } wpSave.parentNode.insertBefore(btn, wpSave);

//for 'Wikipedia:' namespace: Sig is ok on Forum pages, on all others put it after Save button if ( ( wgNamespaceNumber == 4 ) && ( !wgTitle.match('^(Village pump [(]|Reference desk/|Deletion review/|Articles for deletion/|Templates for deletion/|.*noticeboard.*|Requests for (adminship|checkuser|arbitration|feedback|page protection|mediation)|Bot requests|Help desk|Editor review|Adminship survey|Cleanup|Miscellany for deletion|New contributors\' help page|Media copyright questions)') ) ) { wpSave.parentNode.insertBefore(btn, wpSave.nextSibling); return; //avoid warning below }

//warn if saving without signature wpSave.onclick = function{ if (document.editform.wpTextbox1.value.indexOf('~\') >= 0 ) return true else return confirm('No signature?') } })

//igloo script importScript('User:Ale_jrb/Scripts/igloo.js'); // User:Ale_jrb/Scripts/igloo