User:Msh210/vector.js: difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m + |
m why load 'em |
||
Line 4: | Line 4: | ||
importScript('User:Lupin/autoedit.js', 'en.wikipedia.org','46637295');//needed for other things |
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/sandboxlink.js');//adds links to sandbox, css, js |
||
importScript('User:Msh210/lastdiff.js');//adds |
importScript('User:Msh210/lastdiff.js');//adds links to last diff |
||
importScript('User:Msh210/hyphenate.js');//hyphenates English nouns with spaces; requires autoedit.js |
importScript('User:Msh210/hyphenate.js');//hyphenates English nouns with spaces; requires autoedit.js |
||
if (wgCanonicalNamespace=='Special'){ |
|||
importScript('User:TheDaveRoss/CIDR.js');//CIDR, UI@special:contributions |
|||
importScript('User: |
importScript('User:TheDaveRoss/CIDR.js');//CIDR, UI@special:contributions |
||
importScript('User:Msh210/ |
importScript('User:Msh210/watchlist.js');//adds unwatch link to watchlist and recentchanges |
||
importScript('User:Msh210/ |
importScript('User:Msh210/blocklinks.js');//adds link to user's logs from Special:Block/Username |
||
importScript(' |
importScript('User:Msh210/sulutil.js');//adds link to sulutil from user's log |
||
importScript('MediaWiki:SectionWatchLinks.js');//adds link to watch transcluded section's source page |
|||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
importScript('User:Superm401/Compare_link.js','en.wikipedia.org','363925947');//linkifies compare versions |
importScript('User:Superm401/Compare_link.js','en.wikipedia.org','363925947');//linkifies compare versions |
||
importScript('User:Conrad.Irwin/creation.js');//automates inflected-form creation; requires autoedit.js |
importScript('User:Conrad.Irwin/creation.js');//automates inflected-form creation; requires autoedit.js |
||
⚫ | |||
importScript('User:Conrad.Irwin/isblocked.js');//nice display if user's blocked |
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:Visviva/pretext.js');//needed to use Visviva's 'add' links |
||
Line 23: | Line 27: | ||
importScript('User:Yair rand/transnewentry.js'); |
importScript('User:Yair rand/transnewentry.js'); |
||
if (wgAction=='submit' || wgAction=='edit') importScript('User:Msh210/format.js'); |
if (wgAction=='submit' || wgAction=='edit') importScript('User:Msh210/format.js'); |
||
⚫ | |||
⚫ | |||
// start stuff copied from [[User:Connel_MacKenzie/clock.js]] and modified |
// start stuff copied from [[User:Connel_MacKenzie/clock.js]] and modified |
||
function makeTime() |
function makeTime() |
Revision as of 21:01, 10 May 2011
//importScript('MediaWiki:Gadget-HotCat.js');
//importScript('User:Yair rand/TabbedLanguages.js');
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/hyphenate.js');//hyphenates English nouns with spaces; requires autoedit.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('MediaWiki:SectionWatchLinks.js');//adds link to watch transcluded section's source page
importScript('User:Ruakh/patrolled.js');//importScript('User:Connel_MacKenzie/patrolled.js');//patrolling enhancements
if (wgCanonicalSpecialPageName=='Blockip' && document.getElementById('wpAllowUsertalk') && !document.getElementById('wpAllowUsertalk').disabled) {
document.getElementById('wpAllowUsertalk').checked=false};
}
importScript('User:Superm401/Compare_link.js','en.wikipedia.org','363925947');//linkifies compare versions
importScript('User:Conrad.Irwin/creation.js');//automates inflected-form creation; requires autoedit.js
importScript('User:Conrad.Irwin/isblocked.js');//nice display if user's blocked
//importScript('User:Visviva/pretext.js');//needed to use Visviva's 'add' links
document.cookie="WiktNearbyPagesLangHeadings=true";//restricts nearbypages to header not navbar
//importScript('User:Hippietrail/nearbypages.js');//previous and next entries
//importScript('User:Conrad.Irwin/beerArchiver.js');//archives the BP
importScript('User:Ruakh/WiktEtylAlwaysLink.js');//link etyl's langnames
//importScript('User:Conrad.Irwin/edittools.js');//custom edittools section
importScript('User:Yair rand/transnewentry.js');
if (wgAction=='submit' || wgAction=='edit') importScript('User:Msh210/format.js');
// 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);
}
addOnloadHook( makeTime );
// end stuff from User:Connel_MacKenzie/clock.js