User:SpacePucky/global.js

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

//Persönliche Skripte importScriptPage('Benutzer:SpacePucky/wikia.js', 'de.pucky'); importScriptPage('MediaWiki:UnsafeScripts/personal.js', 'dev'); importScriptPage('MediaWiki:AntiUnicruft/code.js', 'dev'); importScriptPage('MediaWiki:TabKeyInserter/code.js', 'dev'); importScriptPage('MediaWiki:RevealAnonIP/usercode.js', 'dev'); //importScriptPage('MediaWiki:Emoticons/code.js', 'kocka');

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

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

//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 };

/* Zusammenfassung.js */ window.dev = window.dev || {}; window.dev.editSummaries = { css: false, select: [ '(Wählen)', 'Standard', [ 'typo', 'Korrektur', 'Ergänzung', ],       'Aufräumen', [ 'cleanup', 'Löschantrag', 'Dublikat', 'Doppelte Weiterleitung repariert', 'Kaputte Weiterleitung repariert' ],       'Vandalismus/Spam EN', [ 'Reverting vandalism', 'Reverting Spam', 'ToU Violation' ],       'Vandalismus/Spam DE', [ 'Spam', 'Vandalismus' ]   ] }; importScriptPage("MediaWiki:Standard_Edit_Summary/code.js", "dev");