User:Walrus068/monobook.js

// // some stoof summary = 'input#wpSummary.mw-summary', textbox = 'textarea#wpTextbox1'; $(document).ready(function {   // adds links to sidebar    $('Recent changes').insertAfter('div#p-Navigation li#n-Main-Page');    $('New files').appendTo('div#p-Navigation ul');    $('div#p-Navigation li#n-recentchanges').attr('id', 't-recentchanges').prependTo('div#p-tb ul'); //t- to fit in yo    $('monobook.js').prependTo('div#p-tb ul');    // unchecks leave redirect box    $('a[href*="Special:MovePage"]').each(function { this.href += (this.search ? '&' : '?') + 'wpLeaveRedirect=0'; }); });

// exch ns mods if (wgCanonicalNamespace == 'Exchange') { $(document).ready(function {       // opens check price link on load        if (wgAction != 'edit' && wgAction != 'submit' && wgAction != 'history' && history.length == '1') {            var exchlink = $('a[href^="http://services.runescape.com/m=itemdb_rs/viewitem.ws"]');            exchlink.attr('id', 'nuts'); //so i know the selector is functional            window.open(exchlink.attr('href'));        }        // shorter edit page        if (wgAction == 'edit' || wgAction == 'submit') {            $(textbox).attr('rows', '15');            $('div#gemw_guide').css('display', 'none');        }        $('.vandalwarning,#contentSub,.diff-context').hide;    }); } if (wgCategories == 'Charm log submissions'){$(function{$('.vandalwarning').hide;});}

if (wgAction == 'edit' || wgAction == 'submit') { $(document).ready(function {       $('').prependTo('div#toolbar').click(function { $(textbox).val(''); $(summary).val('DELETE SUPPA'); });       //welcome        if (wgCanonicalNamespace == 'User_talk' && wgArticleId === 0) {            $('').prependTo('div#toolbar').click(function { $(textbox).val('Walrus068'); $(summary).val('Welcome!'); $('form#editform').submit; });       }    }); }

if (window.location.href.match(/(Log\/|type=)newusers/g)) { var ajaxPages = ""; $(function {           $('').appendTo('fieldset');            $('input[value="Show all entries"]').click(function { $('li.mw-logline-newusers').show; });           $('input[value="Hide entries"]').click(function { $('span.mw-usertoollinks a[title^="User talk"]').not('.new').parent.parent.hide; });       }); }

var toolbarTemplates = []; var toolbarFillSummary = 0; var toolbarFillHeader = 0; var toolbarGlobalReferrer = 1; toolbarTemplates.push({ name: 'Chathead license', ns: 'File', open: '\n', sample: '' }); toolbarTemplates.push({ name: 'DII license', ns: 'File', open: '\n', sample: '' }); toolbarTemplates.push({ name: 'Inventory license', ns: 'File', open: '\n', sample: '' }); toolbarTemplates.push({ name: 'jpeg', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'gif', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Anti-aliasing needed', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Standard detail', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Greater detail', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Facial features', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Lighting detail', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Transparency', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Translucency', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Cleanup image', ns: 'File', open: '\n', sample: '' }); toolbarTemplates.push({ name: 'Delete unnecessary suppa', ns: 'File', open: '\n', close: , sample:  }); toolbarTemplates.push({ name: 'Delete duplicate suppa', ns: 'File', open: '\n', sample: '' }); toolbarTemplates.push({ name: 'Delete replaced suppa', ns: 'File', open: '\n', sample: '' }); if(wgAction=='edit'||wgAction=='submit'){importScript('User:Quarenon/templates.js');} //importScript('User:Walrus068/spam.js'); if(window.location.search.match(/&spam/)){importScript('User:Walrus068/nuts.js');} if(window.location.search.match(/[?&]diff(.*&oldid)?/) && !document.getElementById('differences-nextlink')){ importScript('User:Walrus068/undominussummaries.js'); importScript('User:Walrus068/warn.js'); } if(wgPageName=='User:Suppa_chuppa/RecentChangesHybrid'){ importScript('User:Suppa chuppa/exchangewatch.js'); importScript('User:Suppa chuppa/recentchanges.js'); importScript('User:Suppa chuppa/recentchanges2.js'); importScript('User:Suppa chuppa/log.js'); importScript('User:Suppa chuppa/abuselog.js'); } //