User:Walrus068/monobook.js

// // some stoof $(document).ready(function {

// adds crouton link to p-cactions $('crouton').appendTo('div#p-cactions ul');

// adds links to sidebar $('Recent changes').appendTo('div#p-Navigation li#n-Main-Page'); $('New files').appendTo('div#p-Navigation ul'); $('Recent changes').prependTo('div#p-tb ul'); $('<a href="/index.php?title=User:Walrus068/monobook.js&action=edit" target="_blank">monobook.js</a></li>').prependTo('div#p-tb ul');

// unchecks leave redirect box $('input#wpLeaveRedirect').removeAttr('checked'); });

// exch ns mods if (wgCanonicalNamespace == 'Exchange') { $(window).load(function {       var exchlink = $('a[href^="http://services.runescape.com/m=itemdb_rs/viewitem.ws"]').attr('href');        $('a[href^="http://services.runescape.com/m=itemdb_rs/viewitem.ws"]').attr('id', 'nuts');        window.open(exchlink);

// custom undoplus var summary = 'Market price, please.'; var undolink = ' (<a href="' + $('a[title$="summary."]').attr('href') + '&undoplus=yes&summary=' + summary + '">undo-</a>) '; $('a[title$="summary."]').attr('id', 'nuts'); $(undolink).appendTo('td.diff-ntitle strong');

// shorter edit page $('textarea#wpTextbox1').attr('rows', '15'); $('div#gemw_guide').css('display', 'none'); }); }

// easier to edit if (wgAction == 'edit' || wgAction == 'submit') { $(window).load(function {       $('#wpTextbox1').focus;        $('#wpSave').attr('tabindex', '1');        $('#wpSummary').attr('tabindex', '2');        $('#wpPreview').attr('tabindex', '3');        $('#wpMinoredit').attr('tabindex', '4');    }); }

// edit user's talk on rollback if (wgAction != 'history') { $(window).load(function {       var talklink = $('#mw-diff-ntitle2 a[title^="User talk"]').attr('href') + '?action=edit';        $('#mw-diff-ntitle2 a[title^="User talk"]').attr('id', 'nuts');        $('span.mw-rollback-link').click(function { window.open(talklink); });   }); }

// autowarn if ((wgAction == 'edit' || wgAction == 'submit') && wgArticleId === 0) { $(window).load(function {       $('textarea#wpTextbox1').val(' ~').select;    }); }

//~

/*** BEGIN TEMPLATES SCRIPT ***/

/* For help with this script, visit http://runescape.wikia.com/wiki/User:Quarenon/Scripts/Templates */

var toolbarTemplates = []; var toolbarFillSummary = 1; var toolbarFillHeader = 0;

// Add custom templates here toolbarTemplates.push({ name: 'jpeg', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'gif', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Anti-aliasing needed', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Standard detail', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Greater detail', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Facial features', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Lighting detail', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Transparency', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Translucency', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Cleanup image', ns: 'File', open: , sample:  }); toolbarTemplates.push({ name: 'Delete unnecessary', ns: 'File', open: , close: , sample: '' }); toolbarTemplates.push({ name: 'Delete duplicate', ns: 'File', open: , sample:  }); toolbarTemplates.push({ name: 'Delete replaced', ns: 'File', open: , sample:  });

/* DO NOT EDIT THIS LINE! */ importScript('User:Quarenon/templates.js');

/*** END TEMPLATES SCRIPT ***/

importScript('User:Suppa_chuppa/hybrid.js'); //