User:Msh210/vector.js

if (wgAction=='submit' || wgAction=='edit') { importScript('User:Conrad.Irwin/edittools.js');//custom edittools section importScript('User:Msh210/format.js'); } //importScript('MediaWiki:Gadget-HotCat.js'); //importScript('User:Yair rand/TabbedLanguages.js'); importScript('User:Yair rand/orangelinks2.js');//links to a L2 are orange importScript('User:Gary_King/highlight_nearby_links.js','en.wikipedia.org','426251371');//underscores adjacent links importScript('User:Lupin/autoedit.js', 'en.wikipedia.org','46637295');//needed for other things importScript('User:Msh210/sandboxlink.js');//adds links to sandbox, css, js importScript('User:Msh210/lastdiff.js');//adds links to last diff importScript('User:Msh210/rollback.js');//custom rollback message if (wgCanonicalNamespace=='') { importScript('User:Msh210/hyphenate.js');//hyphenates English nouns with spaces; requires autoedit.js importScript('User:Conrad.Irwin/creation.js');//automates inflected-form creation; requires autoedit.js //document.cookie="WiktNearbyPagesLangHeadings=true";//restricts nearbypages to header not navbar //importScript('User:Hippietrail/nearbypages.js');//previous and next entries importScript('User:Yair rand/transnewentry.js'); }; if (wgCanonicalNamespace=='Special') { importScript('User:TheDaveRoss/CIDR.js');//CIDR, UI@special:contributions importScript('User:Msh210/watchlist.js');//adds unwatch link to watchlist and recentchanges importScript('User:Msh210/blocklinks.js');//adds link to user's logs from Special:Block/Username importScript('User:Msh210/sulutil.js');//adds link to sulutil from user's log importScript('User:Msh210/abusehist.js');//adds link to page history from abuse diff page if (wgCanonicalSpecialPageName=='Block' && document.getElementById('mw-input-wpDisableUTEdit') && !document.getElementById('mw-input-wpDisableUTEdit').disabled) document.getElementById('mw-input-wpDisableUTEdit').checked=true; } importScript('MediaWiki:SectionWatchLinks.js');//adds link to watch transcluded section's source page if (wgAction=='history') importScript('User:Superm401/Compare_link.js','en.wikipedia.org','363925947');//linkifies compare versions importScript('User:Conrad.Irwin/isblocked.js');//nice display if user's blocked //importScript('User:Visviva/pretext.js');//needed to use Visviva's 'add' links //importScript('User:Conrad.Irwin/beerArchiver.js');//archives the BP importScript('User:Ruakh/WiktEtylAlwaysLink.js');//link etyl's langnames // start stuff copied from User:Connel_MacKenzie/clock.js and modified function makeTime { var timeGMT = new Date; var time = timeGMT.toUTCString; var li = document.createElement( 'li' ); li.id = 't-time'; li.appendChild( document.createTextNode( time ) ); var ul=document.getElementById('t-upload'); ul.parentNode.insertBefore(li,ul); } $( makeTime ); // end stuff from User:Connel_MacKenzie/clock.js