User:Violine1101/common.js

/* Interwiki-friendly script loader */ mw.loader.interwikiLoad = function( url, iw ) {	if (iw != '') iw = '-' + iw; return mw.loader.load( 'http://minecraft' + iw + '.gamepedia.com/index.php?title=' + url + '&action=raw&ctype=text/javascript' ); };

/* Importing some scripts from the German wiki. */ mw.loader.interwikiLoad('Benutzer:violine1101/signatur.js', 'de'); mw.loader.interwikiLoad('Benutzer:Violine1101/namen.js', 'de'); mw.loader.interwikiLoad('Benutzer:Violine1101/refTooltip.js', 'de'); /* mw.loader.interwikiLoad('Benutzer:Oliver_Scholz/unsigned.js', 'de'); mw.loader.interwikiLoad('Benutzer:CalebBlackhand/BildLizenzen.js', 'de'); mw.loader.interwikiLoad('Benutzer:CalebBlackhand/AndereSprachen.js', 'de'); */

/* Disables the "Create redirect" checkbox on Special:Move page */ if (wgPageName.indexOf('Special:Move/') != -1) {	document.getElementById('wpLeaveRedirect').checked = false; }

document.querySelector('.t-netbar-account a.t-netbar-label').innerHTML = 'violine1101 '; document.querySelector('.t-netbar-avatar .t-netbar-label').href = 'http://minecraft-de.gamepedia.com/Benutzer:Violine1101';

// en:User:Majr/Prism.js // Adds JavaScript, CSS and Lua syntax highlighting, see file for license // Requires a theme from http://prismjs.com to be added to usercss mw.loader.interwikiLoad( 'User:Majr/Prism.js', '' );

// en:User:Majr/codeLinks.js mw.loader.interwikiLoad( 'User:Majr/codeLinks.js', '' );