Minecraft Wiki
mNo edit summary
No edit summary
 
Line 2: Line 2:
 
importScript('User:Numbermaniac/goToTop.js');
 
importScript('User:Numbermaniac/goToTop.js');
 
// Test
 
// Test
  +
mw.loader.using( ['mediawiki.user','mediawiki.util','jquery.ui.dialog','jquery.tipsy'], function(){
importScript('User:Numbermaniac/morebits.js');
 
importStylesheet('User:Numbermaniac/morebits.css');
+
mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/morebits.js&action=raw&ctype=text/javascript');
  +
mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/morebits.css&action=raw&ctype=text/css', 'text/css');
importScript('User:Numbermaniac/twinkle.js');
 
  +
mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinklewarn.js&action=raw&ctype=text/javascript');
  +
mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinklespeedy.js&action=raw&ctype=text/javascript');
  +
// add all the other Twinkle modules here
  +
mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinkle.js&action=raw&ctype=text/javascript');
  +
});
 
// Advisor script; points out errors in the edit form
 
// Advisor script; points out errors in the edit form
 
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cameltrader/Advisor.js&action=raw&ctype=text/javascript');
 
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cameltrader/Advisor.js&action=raw&ctype=text/javascript');

Latest revision as of 04:27, 16 April 2014

// Go To Top Script from ultradude25
importScript('User:Numbermaniac/goToTop.js');
// Test
mw.loader.using( ['mediawiki.user','mediawiki.util','jquery.ui.dialog','jquery.tipsy'], function(){
        mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/morebits.js&action=raw&ctype=text/javascript');
        mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/morebits.css&action=raw&ctype=text/css', 'text/css');
        mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinklewarn.js&action=raw&ctype=text/javascript');
        mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinklespeedy.js&action=raw&ctype=text/javascript');
// add all the other Twinkle modules here
        mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Numbermaniac/twinkle.js&action=raw&ctype=text/javascript');
  });
// Advisor script; points out errors in the edit form
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cameltrader/Advisor.js&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 = [
'reply',
'[' + '[Minecraft 2.0]] info does not belong outside of its article',
'[' + '[Category:Screenshots]]',
'[' + '[Category:User images]]',
'[' + '[mcf:24-|go to the forums]]',
'[' + '[mcf:31-|go to the server forums]]',
'[' + '[mcf:56-|go to the mod forums]]',
'[' + '[mcf:155-|go to the support forums]]',
'[' + '[mcf:219-|go to the Pocket Edition forums]]',
'[' + '[mcf:220-|go to the Xbox 360 Edition forums]]',
'[' + '[Special:Interwiki|Interwiki link]]',
'[' + '[Project:Wiki Rules#1|Rule#1]]: Violates Minecraft ToU/brand guidelines',
'[' + '[Project:Wiki Rules#2|Rule#2]]: Spam',
'[' + '[Project:Wiki Rules#2|Rule#2]]: Vandalism',
'[' + '[Project:Wiki Rules#3|Rule#3]]: Too simple',
'[' + '[Project:Wiki Rules#3|Rule#3.1]]: No proof [' + '[Mojang]] has played this',
'[' + '[Project:Wiki Rules#4|Rule#4]]: Lack of content',
'[' + '[Project:Wiki Rules#5|Rule#5]]: Harassment/insult/[[wikipedia:ad hominem|ad hominem]]',
'[' + '[Project:Wiki Rules#6|Rule#6]]: Not a [' + '[Mojang]]ster',
'[' + '[Project:Wiki Rules#7|Rule#7/7.1]]: False info/speculation',
'[' + '[Project:Wiki Rules#8|Rule#8]]: Belongs in [' + '[Tutorials]]',
'[' + '[Project:Wiki Rules#9|Rule#9]]: Custom server mods belong with their server article',
'[' + '[Project:Wiki Rules#10|Rule#10/11]]: Server/community advertising',
'[' + '[Project:Wiki Rules#13|Rule#13]]: [[wikipedia:Plagiarism|Plagiarism]]',
'[' + '[Project:Wiki Rules#15|Rule#15.1]]: Mod info in vanilla article',
'[' + '[Project:Wiki Rules#16|Rule#16]]: [[Project:Wiki Rules/Video policy|Video policy]]',
'[' + '[Project:Wiki Rules#18|Rule#18]]: Signature',
'[' + '[Project:Wiki Rules#19|Rule#19]]: Herospam',
'[' + '[Project:Wiki Rules#20|Rule#20]]: Custom textures/UI/mods',
'[' + '[Project:Wiki Rules#22|Rule#22]]: Template as signature',
'[' + '[Project:Wiki Rules#23|Rule#23]]: Not tutorial material'
];
importScript('User:Kanegasi/editsummarypresets.js');
}

/* Adds a character counter to fields with a maximum
 [[User:Majr/inputCounter.js]]
*/
importScript( 'User:Majr/inputCounter.js' );

// Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter )
if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) {
var pageName = 'edit count';
var summaryLink = 'wikipedia:User:Kanegasi/editcounter';
var transcludeAll = true;
var tableHeaders = true;
var bottomRowAttrib = 'style = "font-size:16px; background-color:#FBF2AE"';
var subPages = 'true';
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript');
}

// Real Time Recent Changes: Not really necessary for this wiki but it's here anyway.
if (mw.config.get('wgPageName') === "User:Krinkle/RTRC" || mw.config.get('wgPageName') === "User talk:Krinkle/RTRC"){
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
}