User:Orthotope/common.js

// User:Ultradude25/editableRollback.js importScript( 'User:Ultradude25/editableRollback.js' );

// Adds Doc + Doc discussion tabs to template pages and change Template + Discussion tabs to always link to the original template + discussion page if ( mw.config.get( 'wgNamespaceNumber' ) === 10 || mw.config.get( 'wgNamespaceNumber' ) === 11 ) { importScript( 'User:Ultradude25/docTabs.js' ); }

mw.loader.localLoad = function (url) { return mw.loader.load ( 'http://www.minecraftwiki.net/index.php?title=' + url + '&action=raw&ctype=text/javascript' ); };

/* Creates a dropdown menu on edit summaries with presets */ if (mw.config.get( 'wgAction' ) === 'edit' || mw.config.get( 'wgAction' ) === 'submit') { var customSummaries = [ '' + 'go to the forums', 'Rule#1: Violates ToU/brand guidelines', 'Rule#2: Spam', 'Rule#2: Vandalism', 'Rule#5: Harassment/insult/ad hominem]]', 'Rule#6: Not a Moj' + 'angster', 'Rule#7/7.1: False info/speculation', 'Rule#8: Belongs in Tutor' + 'ials', 'Rule#10/11: Server/community advertising', 'Rule#15.1: Mod info in vanilla article', 'Rule#16: Video policy', 'Rule#19: Herospam', ];   mw.loader.localLoad( 'User:Kanegasi/editsummarypresets.js' ); }