User:Phatom87/vector.js

//add missing toolbar buttons importScript('User:NerdyScienceDude/Scripts/extratoolbarbuttons.js');

//refToolbar //importScript('User:Mr.Z-man/refToolbar 2.0.js');

//stub tagging importScript('User:Ais523/stubtagtab2.js');

//varrious settings for popups popupDelay=.6;//default is a little short for me get popups without meaning to //popupSubpopups=false;//I don't need popups within popups. popupRedlinkRemoval=true; popupFixDabs=true; popupEditCounterTool="custom" popupEditCounterUrl="http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=$1&site=en.wikipedia.org" // settings for wikEd editing page extension wikEdComboPresetOptions = [];

wikEdComboPresetOptions['summary'] = ['','Stub sorting. You can help!', 'copyedit', 'reply', 'article created', 'intro rewrite', 'linkfix', 'fixing typos', 'formatting source text', '{wikEdUsing}' ]; wikEdRegExTypoFix = true;

/*FriendlyConfig = { watchTaggedPages : false };*/

// from User:Thebainer/monobook.js // adds a 'logs for this page' link to the toolbox bar // if the page is a user's page, talk page or subpage, the link will go to logs for the user instead // if the page is a special page, then no link is displayed addOnloadHook(function { // if this is a user, show the logs for the user rather than the page if ( mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk" ) { url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&user=" + mw.config.get('wgTitle').split("/")[0]; } else if ( mw.config.get('wgCanonicalNamespace') == "Special" ) { // don't display link for special pages return; } else { url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&page=" + mw.config.get('wgPageName'); } mw.util.addPortletLink("p-tb", url, "Logs", "pt-logs"); //user links code if (mw.config.get('wgTitle').indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history return; if (mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk") { var username = encodeURIComponent( mw.config.get('wgTitle') ); mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions"); mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + "/w/index.php?title=Special:Prefixindex&prefix=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace"); } });

//translate the side bar. importScript('User:Tra/sidebartranslate.js'); //User:Tra/sidebartranslate.js