User:Dragon Rainbow/global.js

//Persönliche Styles importScriptPage('Benutzer:Dragon Rainbow/Styles.js', 'de.rain');

//Hacks importScriptPage('Benutzer:Dragon Rainbow/hacks.js', 'de.rain');

//Chathacks importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

//ChatQuotes importScriptPage('User:Wildream/ChatQuote/code.js', 'ru.c');

//Persönliche Skripte importScriptPage('Benutzer:Dragon Rainbow/scripts.js', 'de.rain');

/* Chat-Pings */ if (wgCanonicalSpecialPageName == "Chat") { var sfNotifications = {}; sfNotifications.options = { audio: 'http://images.wikia.com/monchbox/images/0/01/Beep-sound.ogg', caseInsensitive: true, highlight: true, highlightColor: 'red', notification: true, ping: true, pings: ["Dragon Rainbow", "Dragon", "Rain", "Rainbow", "Admin", "rain"], regex: false, window: false };   importScriptPage("ChatNotifications/code.js", "dev"); }

//Zusammenfassungen importScriptPage("MediaWiki:Zusammenfassungen.js", "de.rain");

/* Easily see removed messages on threads */ if ($('.removed-info.speech-bubble-message-removed').length && mw.config.get('wgCanonicalNamespace') == "Thread") { $('.removed-info.speech-bubble-message-removed').each(function {   var id = $(this).parent.attr('id');    $(this).append(' (see message)')  }); }

//Schnelles Erstellen der Benutzerseiten importScriptPage('MediaWiki:Benutzerseiten.js', 'de.rain');

//Skripte (die notwendigsten) importScriptPage('MediaWiki:Scripts.js', 'de.rain');

//Hide Rail importScriptPage('MediaWiki:HideRail/code.js', 'dev');

// Redirect management importScriptPage('MediaWiki:RedirectManagement/code.js', 'dev');

//SkinSwitch importScriptPage('MediaWiki:SkinSwitchButton/code.js', 'dev');

//OldFilePages OFPoptions = {'showlinks': true}; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:OldFilePages/code.js'    ] });

//NoImageLightbox window.NoImageLightbox = { novideo: true }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:NoImageLightbox/code.js',        //'u:a:MediaWiki:Gadget-HotCat.js'    ] });

/* RC link in global nav by User:AmonFatalis */ $('Letzte Änderungen').appendTo('.global-navigation-container');

//Alle XY löschen importScriptPage('MediaWiki:MultipleFileDelete/code.js', 'dev');

//Finden und Ersetzen importScriptPage('MediaWiki:FindAndReplace/code.js', 'dev');

/* Stuff written by @Bobogoobo */ // Add "infinite" value to expiry dropdowns (another thing that should be built-in) $('#mw-input-wpExpiry option:last').before(   $(' ', { 'value':'infinite', 'text':'infinite' }) ); //Highlight whitespace characters in diffs when they're the only thing in the change //Winner of most conspicuous missing feature for five consecutive years if (window.location.href.indexOf('diff=') !== -1) { $('.diffchange-inline').each(function {       if (!(new RegExp('\\S+').test($(this).text))) {            $(this).css('background-color', 'red');        }    }); } //end