User:Dotted/wowwiki.js

// BEGIN install User:Cacycle/wikEd in-browser text editor document.write(''); // ENDinstall User:Cacycle/wikEd in-browser text editor

// BEGIN stuff stolen from Cpt. Kirks js. /*

/* changes the Google search box to MediaWiki search box */ function changeSearch { document.getElementById('p-search').innerHTML = " Search    "; }

/* changes the personal links (at the top) to include direct links to the customized CSS and JS pages */ function changePersonal { document.getElementById('p-personal').innerHTML = " Personal tools DottedMy talk<a href='/User:Dotted/wowwiki.css'>CSS</a></li><a href='/User:Dotted/wowwiki.js'>JS</a></li><a href='/Special:Preferences'>My preferences</a></li><a href='/Special:Watchlist'>My watchlist</a></li><a href='/Special:Contributions/Dotted'>My contributions</a></li><a href='/Special:Userlogout'>Log out</a></li></ul> ";

}

/* does everything */ function doStuff { if (wgPageName == "Special:Recentchanges") loadJS("User:Pcj/ajaxrc.js", 0); // AJAXRCLOL changePersonal; changeSearch; }

/* makes the page wait until it's loaded before it does everything, otherwise it won't be able to access the parts of the page which haven't loaded yet */ addOnloadHook(doStuff);

/*

// END stuff stolen from Cpt. Kirks js.