document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject User scripts/Scripts/Revert tools&action=raw&ctype=text/javascript&dontcountme=s"></script>')
// Script from [[Revert tools.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=Revert tools.js'
+ '&action=raw&ctype=text/javascript');
// [[User:Lupin/popups.js]]
mw.loader.load(
'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s');
popupThumbAction="sizetoggle";
popupRedlinkRemoval=true;
popupFixDabs=true;
popupStructure='original';
// Script from [[User talk:Howcheng/quickimgdelete.js]]
importScript('User talk:Howcheng/quickimgdelete.js'); //[[User talk:Howcheng/quickimgdelete.js]]
/**** afd helper ****/
document.write('<script type="text/javascript"' +
'src="http://en.wikipedia.org/w/index.php?title=User:Jnothman/afd_helper/' +
'script.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */
// Script from [[User:MarkS/extraeditbuttons.js]]
XEBOrder='8,D,C,D1,F,U,S,I1,I2,J1,E,G,Q,K,L,M,H,O,R,V,AI,GEO';
rmEditButtons=['all'];
importScript('User:MarkS/extraeditbuttons.js');
// VIEW SOURCE
addOnloadHook(function () {
if (location.href.indexOf('viewsource=1') != -1) {
sl = document.getElementById('wpSummaryLabel'); sl.parentNode.removeChild(sl);
ed = document.getElementById('wpSummary').parentNode; ed.parentNode.removeChild(ed);
return;
}
editbutton = document.getElementById('ca-edit');
if (editbutton && location.href.indexOf('action=edit')==-1) {
editlink = editbutton.getElementsByTagName('a')[0].href + '&viewsource=1';
tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];
na = document.createElement('a');
na.href = editlink; na.appendChild(document.createTextNode('view source'));
li = document.createElement('li'); li.id = 'ca-viewsource'; li.appendChild(na);
tabs.insertBefore(li,editbutton);
}
});
addOnloadHook(function() {
if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1) //no subpages or history
return;
if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {
var username = encodeURIComponent( wgTitle );
mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");
mw.util.addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "Edit count", "ca-editcount", "Edit count from Interiot's Tool1");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Blocks received", "ca-blog", "Blocks received by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Prefixindex&from=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace");
}
});
/**** welcome new user ****/
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Nmajdan/welcome_newuser.js' +
'&action=raw&ctype=text/javascript');
// Script from [[Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js]]
importScript('Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js'); //[[Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js]]
// Script from [[Wikipedia:WikiProject User scripts/Scripts/Quick wikify]]
importScript('Wikipedia:WikiProject User scripts/Scripts/Quick wikify'); //[[Wikipedia:WikiProject User scripts/Scripts/Quick wikify]]
// Script from [[User:Razorclaw/orphan.js]]
importScript('User:Razorclaw/orphan.js'); //[[User:Razorclaw/orphan.js]]
// Script from [[User:Omegatron/monobook.js/unverified.js]]
importScript('User:Omegatron/monobook.js/unverified.js'); //[[User:Omegatron/monobook.js/unverified.js]]
importScript('User:Alex_Smotrov/qpreview.js');