User:Wehwalt/monobook.js

importScript('User:Dr_pda/prosesizebytes.js'); //User:Dr_pda/prosesizebytes.js importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:Splarka/sysopdectector.js'); //Admin detector importScript('User:Gary King/nominations viewer.js'); // Nominations Viewer importScript('User:Barticus88/WhatLinksHere.js'); importScript( 'User:Enterprisey/reply-link.js' ); // Backlink: User:Enterprisey/reply-link.js) popupFixRedirs=true; popupRedlinkRemoval=true; popupFixDabs=true;

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

importScript("User:GregU/dashes.js");

var SegregateRefsJsAllowConversion = true; importScript("User:PleaseStand/segregate-refs.js");

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

importScript('User:Ohconfucius/script/Common Terms.js'); importScript('User:Ohconfucius/script/EngvarB.js'); importScript('User:Ohconfucius/script/MOSNUM dates.js'); $(function { if (document.forms.editform) {  mw.util.addPortletLink('p-tb', 'javascript:Ohc_cite_dates_to_ISO', 'CITE dates to ISO', 't-ISO', 'ISO day month', , );  mw.util.addPortletLink('p-tb', 'javascript:Ohc_code_delink_dates', 'delink dates', 't-dmy', 'day month + CT', , );  mw.util.addPortletLink('p-tb', 'javascript:Ohc_protect_dates', 'protect dates', 't-dmy', 'day month + CT', , );  mw.util.addPortletLink('p-tb', 'javascript:Ohc_remove_leading_zeros_from_nonlinked_dates ', 'rem leading zeros', 't-dmy', 'day month + CT', , ); } });

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

importScript('User:Alarbus/hlist.js');

importScript('user:js/urldecoder.js') var urlDecoderIntLinks = true; //also try to simplify existing internal links in selected text

importScript('User:Scottywong/diffconverter.js'); importScript('User:Ale_jrb/Scripts/userhist.js'); //User:Ale_jrb/Scripts importScript('User:Rami_R/rfppClerk.js'); importScript('User:Animum/urlparameters.js'); importScript('User:Animum/formatresponse.js'); importScript("User:Animum/easyblock.js"); //User:Animum/easyblock.js $(function { mw.util.addPortletLink( "p-personal", mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=Template:Admin_dashboard", "AD", "pt-admindashboard", "Link to admin dashboard", "A", document.getElementById("pt-logout")); }); importScript('User:Js/ajaxPreview.js') importScript('User:Splarka/sysopdectector.js'); //Admin detector // User:Steel359/protection.js importScript('User:Steel359/protection.js'); importScript('User:Dr pda/prosesize.js'); //User:Dr pda/prosesize.js // Returns  name function basicaddlilink(url, name) { var na = document.createElement('a'); na.setAttribute('href', url); var txt = document.createTextNode(name); na.appendChild(txt); var li = document.createElement('li'); li.appendChild(na); return li; } // Adds a "blocklog" tab and fills in the username field on Special:Blockip, if a "&faketarget=username" is present. function do_blockip_stuff { // focus on Reason field document.getElementsByName('wpBlockReason')[0].focus; // Look for a &faketarget= for the username/ip var l = location.search.substring(1).split('&'); var target = ''; for (var i = 0; i < l.length; ++i) {     var n = l[i].indexOf('='); if (l[i].substring(0, n) == 'faketarget') {	 target = l[i].substring(n + 1); break; }   }  if (target == '') return; // put account name in "IP Address/username" field var addr = document.getElementsByName('wpBlockAddress')[0]; addr.value = unescape(target); // add "blocklog" tab var c1 = document.getElementById('column-one'); var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0]; tabs.appendChild(basicaddlilink('/w/index.php?title=Special%3ALog&type=block&user=&page=User%3A' + target, 'blocklog')); } // Opens the block log in the current window, and Special:Blockip in a popup. // Width, height, top, and left are chosen for a 1600x1200 display. //function blockpage_and_log(target) //{ // window.open('Special_Blockip.html?foo=blarg&faketarget=' + target, 'Block', 'width=1600,height=600,top=600,left=0'); // document.location.href = 'http://en.wikipedia.org/w/index.php?title=Special%3ALog&type=block&user=&page=User%3A' + target; //} // Adds "block" and "blocklog" tabs to User: and User talk: pages. function add_block_tab { var c1 = document.getElementById('column-one'); var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0]; // use the "edit this page" tab to get already-tidied url var editlk = document.getElementById('ca-edit').getElementsByTagName('a')[0].href; // cut everything up to "title=" from the start and everything past "&action=edit" from the end editlk = editlk.substring(editlk.indexOf('title=') + 6, editlk.lastIndexOf('&action=edit')); editlk = editlk.substring(editlk.indexOf(':') + 1); var slloc = editlk.indexOf('/'); if (slloc > 0) editlk = editlk.substring(0, slloc); // add "block" tab tabs.appendChild(basicaddlilink('/w/index.php?title=Special%3ABlockip&faketarget=' + editlk, 'block')); // To open the block page and block log simultaneously, replace the above line with: // tabs.appendChild(addlilink('javascript:blockpage_and_log("' + editlk + '")', 'Block')); // and uncomment the blockpage_and_log function above. // add "blocklog" tab tabs.appendChild(basicaddlilink('/w/index.php?title=Special%3ALog&type=block&user=&page=User%3A' + editlk, 'blocklog')); } function do_onload { if (document.title.indexOf('User:') == 0      || document.title.indexOf('User talk:') == 0) add_block_tab; else if (document.title.indexOf('Block user') == 0) // could stand to be more robust do_blockip_stuff; } if (window.addEventListener) window.addEventListener("load", do_onload, false); else if (window.attachEvent) window.attachEvent("onload", do_onload); // Admin tools mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Protection/monobook.js'             + '&action=raw&ctype=text/javascript'); // // Admin rollback tools mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Dreadstar/Specialadmin/monobook.js'             + '&action=raw&ctype=text/javascript'); // importScript('User:Lightmouse/monobook.js/script.js');