User:Steel/monobook.js

//

// User:Lupin/popups.js //importScript('User:Lupin/popups.js'); popupHideDelay=0.0; popupAdminLinks=true; popupOnEditSelection=false; popupFixDabs=true; popupRedlinkRemoval=true

importScript('User:Voice_of_All/Addtabs/monobook.js'); importScript('User:Steel359/protection.js'); importScript('User:Steel359/watchlist.js'); importScript('User:Steel/easyblock.js'); importScript('User:John254/mass rollback.js'); importScript('User:Timotheus Canens/massblock.js'); importScript('User:Animum/massdelete.js');

// user:js/ajaxPreview importScript('User:Js/ajaxPreview.js'); var ajaxPreviewPos = 'bottom';

// User:Superm401/Compare link.js importScript("User:Superm401/Compare link.js");

// Broken - revisit this later. // importScript('User:Kangaroopower/MRollback.js');

// Navigation ---

$(function { // if this is a user, show the logs for the user rather than the page if ( wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk" ) {  url = wgServer + "/w/index.php?title=Special:Log&user=" + wgTitle.split("/")[0]; } else if ( wgCanonicalNamespace == "Special" ) {  // don't display link for special pages  return; } else {  url = wgServer + "/w/index.php?title=Special:Log&page=" + wgPageName; } mw.util.addPortletLink("p-navigation", url, "Logs", "pt-logs");

if ( wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk" ) { url = wgServer + "/w/index.php?title=Special:Listusers&limit=1&username=" + wgTitle.split("/")[0]; } else { return; } mw.util.addPortletLink("p-navigation", url, "User rights", "pt-rights");

if ( wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk" ) { url = wgServer + "/w/index.php?title=Special:Prefixindex&namespace=2&from=" + wgTitle.split("/")[0] + '/'; } else { return; } mw.util.addPortletLink("p-navigation", url, "Userspace", "pt-space");

});

//