- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:TKN/vector.js: Difference between revisions
< User:TKN
imported>TKN No edit summary |
imported>TKN No edit summary |
(No difference)
|
Latest revision as of 22:10, 3 December 2012
// Figure out why this ends up between facebook and twitter
window.onload = function() {
document.getElementById('siteNoticeLinks').innerHTML += ' • <a href="/Project:SysOp_Tasks">SysOp Tasks</a>';
if (wgCanonicalSpecialPageName == "Blockip" && !document.getElementById('Already_blocked')) {
$('#wpEmailBan').attr('checked', true);
$('#wpAllowUsertalk').attr('checked', false);
$('#wpBlockExpiry').attr('value', 'infinite')
}
if (wgAction != 'purge')
{
$('#ca-view').after('<li id="ca-purge"><a href="' + wgServer + '/' + wgPageName + '?action=purge' +'"><span>*</span></a></li>');
}
else
{
$('#ca-view').after('<li id="ca-purge" class="selected"><a href="' + wgServer + '/' + wgPageName + '?action=purge' +'"><span>*</span></a></li>');
}
}