User:Chitransh Gaurav/vector.js

importScript('User:Ale_jrb/Scripts/csdhelper.js'); //User:Ale_jrb/Scripts importScript('User:NuclearWarfare/Mark-blocked script.js'); importScript('User:Kaldari/wikilove.js'); importScript('User:CBM/quickpreview.js'); importScript('User:js/watchlist.js'); importScript('User:Gary King/show upload deletion logs.js');

// importScript('User:Ale_jrb/Scripts/userhist.js'); // // importScript('User:Tim Song/afchelper4.js'); // // importScript('User:King of Hearts/closexfd.js); // // importScript('User:Lupin/recent2.js'); // // importScript('User:Manishearth/orphantabs.js'); // // importScript('User:Ale_jrb/Scripts/statusCheck.js'); // // importScript('User:Ale_jrb/Scripts/igloo.js'); // // importScript('User:M/reword.js'); //

// mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Haza-w/cactions.js'); //

// Random pages links in the menu bar // randomPages = { addToolboxLink: function(url, name, id) { var tb = document.getElementById('p-navigation').getElementsByTagName('ul')[0]; randomPages.addlilink(tb, url, name, id); }, addlilink: function(tabs, url, name, id, title, key) { var na = document.createElement('a'); na.href = url; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); if(id) li.id = id; li.appendChild(na); tabs.appendChild(li); if(id) { if(key && title) ta[id] = [key, title]; else if(key)    ta[id] = [key, '']; else if(title)  ta[id] = ['', title]; }	akeytt; return li; }, } addOnloadHook(function {		randomPages.addToolboxLink("http://en.wikipedia.org/wiki/Special:RandomRedirect", 'Random redirect', 'random-redirect');		randomPages.addToolboxLink("http://en.wikipedia.org/wiki/Special:Random/Talk", 'Random talk', 'random-talk');		randomPages.addToolboxLink("http://en.wikipedia.org/wiki/Special:Random/Wikipedia", 'Random wikipedia', 'random-wikipedia');		randomPages.addToolboxLink("http://en.wikipedia.org/wiki/Special:Random/File", 'Random file', 'random-file');		randomPages.addToolboxLink("http://en.wikipedia.org/wiki/Special:Random/User", 'Random user', 'random-user');	} );

// Link to admin dashboard // function addDash { loLogoutNode = document.getElementById("pt-logout"); loDashNode = mw.util.addPortletLink( "p-personal"      , mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=User:" + wgUserName + "/Dashboard"        , "My dashboard"        , "pt-admindash"        , "Link to dashboard"        , "d"        , loLogoutNode ); } addOnloadHook(addDash);