User:SpacePucky/global.js

//Hacks importScriptPage('Benutzer:SpacePucky/common.js', 'de.pucky');

//Zusammenfassung importScriptPage('Benutzer:SpacePucky/Zusammenfassung.js', 'de.pucky');

//Persönliche Skripte importScriptPage('Benutzer:SpacePucky/wikia.js', 'de.pucky');

//Persönliche Styles importScriptPage('Benutzer:SpacePucky/Styles.js', 'de.pucky'); //Chathacks importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); //ChatQuotes importScriptPage('User:Wildream/ChatQuote/code.js', 'ru.c');

//Benutzerseiten importScriptPage('MediaWiki:Benutzerseiten.js', 'de.pucky');

/* Buttons by AmonFatalis */ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", "speedTip": "Magic", "tagOpen": "__", "tagClose": "__", "sampleText": "NOEDITSECTION" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://static2.wikia.nocookie.net/monsterhunternews/de/images/d/d3/Button_Weiterleitung.png", "speedTip": "Weiterleitung", "tagOpen": "#REDIRECT ",   "tagClose": "", "sampleText": "R" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png", "speedTip": "Anführungszeichen", "tagOpen": "„", "tagClose": "“", "sampleText": "M" }; }

/* 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)')  }); }

// Thread history return to thread if(wgCanonicalNamespace == "Thread" && wgAction == "history") $('.SortingBar').after('Back to thread'); if(wgCanonicalNamespace == "Diskussionsfaden" && wgAction == "history") $('.SortingBar').after('Zurück zur Diskussion');

/* Kill Video Lightbox */ window.NoImageLightbox = { novideo: true };