User:SpacePucky/global.js

importScriptPage('Benutzer:SpacePucky/common.js', 'de.pucky'); importScriptPage('User:SpacePucky/common.js', 'pucky'); importScriptPage('MediaWiki:Benutzerseiten.js', 'de.pucky');

//Persönliche Skripte importScriptPage('MediaWiki:ChatHacks.js', 'dev'); //importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); //importScriptPage('MediaWiki:ChatBlockButton/code.2.js', 'dev'); //importScriptPage('MediaWiki:Emoticons/code.js', 'kocka'); importScriptPage('MediaWiki:TabKeyInserter/code.js', 'dev'); importScriptPage('MediaWiki:RevealAnonIP/usercode.js', 'dev'); importScriptPage('User:Wildream/ChatQuote/code.js', 'ru.c'); importScriptPage('MediaWiki:AjaxEmoticons/code.js', 'dev'); importScriptPage('MediaWiki:RedirectManagement/code.js', 'dev'); importScriptPage('MediaWiki:FileUsageAuto-update/code.js', 'dev'); importScriptPage('MediaWiki:PageRenameAuto-update/code.js', 'dev'); importScriptPage('MediaWiki:CategoryRenameAuto-update/code.js', 'dev'); importScriptPage('MediaWiki:ChatModHover/code.js', 'dev'); importScriptURI('http://monchbox.wikia.com/wiki/User:Monchoman45/monobook.js?action=raw&ctype=text/javascript&templates=expand');

//PN-Benachrichtigungen var PrivateMessageAlert = { beepSound: 'http://vignette3.wikia.nocookie.net/pucky/images/6/65/Pling.ogg/revision/latest?cb=20160714160044&path-prefix=de', message: '$1', notifications: false, alertWhileFocused: false }; importScriptPage('MediaWiki:PrivateMessageAlert/code.js', 'dev');

/* 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": "https://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.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" }; }

/* Standard Edit Summary Settings */ window.dev = window.dev || {}; window.dev.editSummaries = { select: [ '(Klicken...)', 'Quick', [ 'Vandalismus entfernt', 'Fehler korrigiert', 'Grammatik korrigiert', 'Formatierung/Layout korrigiert' ],       'General', [ 'Link(s) hinzugefügt/verändert/entfernt', 'Interwiki-Link(s) hinzugefügt/verändert/entfernt', 'Cleanup', 'Korrekturen', 'Formatierung', 'Grammatik', 'HTML &rarr; Wikitext', 'Layout', 'Antwort', 'Vorschlag', 'Aufgeräumt', 'Aktualisiert' ],       'Removal/Reversion', [ 'Vandalismus zurückgesetzt', 'Test-Edit zurückgesetzt', 'Urheberrechtsverletzung entfernt', 'Spam entfernt' ],       'Vorlagen', [ 'Vorlage(n) hinzugefügt/verändert/entfernt', 'Infobox(en) hinzugefügt/verändert/entfernt', ],       'Kategorien', [ 'Kategorie(en) hinzugefügt/verändert/entfernt', 'Creating Category page' ],       'Dateien', [ 'Bild(er) hinzugefügt', 'Bild(er) entfernt', 'Video(s) hinzugefügt', 'Datei(en) hinzugefügt/entfernt' ],       'EN', [ 'Reverted vandalism', 'Reverted test edit', 'Reverted vanity edit', 'Removed fanon', 'Removed libel/slander', 'Removed copyvio', 'Removed spam' ]   ] }; importArticles({ type: 'script', articles: [     'u:dev:Standard_Edit_Summary/code.js' ]});

/* Automatic broken redirect delete summary */ if (c.wgAction == "delete" && $('#wpReason').val.slice(0,23) == 'content was: \"#REDIRECT' ) $('#wpReason').val('Broken redirect'); /* 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 };

/* Add history button to diffs */ if ($('strong:contains("Changes:")').length) $('#WikiaPageHeader').find('p').children('a').after(' (history)');