User:Mix Gerder/global.js

importArticles({   type: 'script',    articles: [        'u:dev:DifferentSkinEditor/code.js',        'u:dev:QuickIW/code.js',        'u:dev:MassProtect/code.js',        'u:dev:RailWAM/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:RedirectManagement/code.js',        'u:dev:GlobalChatJS.js',        'u:dev:GlobalEditcount/code.js',        'u:dev:QuickToolsv2/code.js',        'u:dev:Nuke/code.js',        'u:dev:AdminDropdown.js',        'u:dev:AjaxBatchDelete/code.2.js',        'u:dev:Rollback/code.2.js',        'u:dev:AjaxBatchUndelete/code.js',        'u:dev:ConsistentModules/code.js',        'u:dev:VanguardTools.js',        'u:dev:CommentPreview/code.js',        'u:dev:UploadInPage/code.js',        'u:dev:RefreshThreads/code.js',        'u:dev:LastEdited/code.js',        'u:dev:RollbackSpamUserContribs/code.js',        'u:dev:Wikificator.js', 'u:dev:FixLazyloadingInsideOfScrollable.js', 'u:mixgerder:User:Mix_Gerder/wikia.js', 'u:dev:PageCreator/code2.js' ] }); //Created by Noemon from Dead Space Wiki function hideFade {	// hide #backtotop first	$( "#backtotop" ).hide ;	// fade in #backtotop	$( function  { $( window ).scroll( function {			if ( $( this ).scrollTop  > ButtonStart ) {				$( '#backtotop' ).fadeIn ;			} else {				$( '#backtotop' ).fadeOut ;			}		}); }); }

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/2/26/Button_latinas.png", "speedTip": "Кавычки", "tagOpen": "«", "tagClose": "»", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/e/eb/EN.png", "speedTip": "+en", "tagOpen": "en:",		"tagClose": "", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://vignette.wikia.nocookie.net/mixgerder/images/6/60/RU.png/revision/latest?cb=20180619061136&path-prefix=ru", "speedTip": "+ru", "tagOpen": "ru:",		"tagClose": "", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://vignette.wikia.nocookie.net/mixgerder/images/0/07/UK.png/revision/latest?cb=20180619061122&path-prefix=ru", "speedTip": "+uk", "tagOpen": "uk:",		"tagClose": "", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png", "speedTip": "Разделитель", "tagOpen": "|", "tagClose": "", "sampleText": "" }; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "https://upload.wikimedia.org/wikipedia/commons/a/a4/H-line_icon.png", "speedTip": "Длинное тире", "tagOpen": "—", "tagClose": "", "sampleText": "" }; function goToTop { // scroll body to 0px on click $( 'body,html' ).animate ({		scrollTop: 0	}, ScrollSpeed ); return false; } function addBackToTop { if( skin == 'oasis' ) { $('Наверх ').appendTo('#WikiaBarWrapper .toolbar > .tools'); hideFade ; }	} var ButtonStart = 800; var ScrollSpeed = 600; if( !window.BackToTop ) { $( document ).ready( function { 		addBackToTop ; 	}); } var BackToTop = true; // prevent duplication

// Показывать/Скрыть удалённые комментарии в темах if ((wgNamespaceNumber == '1200' || wgNamespaceNumber == '1201') && $('.hide').length) { $('.follow').before('Показать '); $('.ShowMessages').click(function {       if ($('.hide').length) {            $('.hide').removeClass('hide');            $('.ShowMessages').text('Скрыть');        } else {            $('.message-removed').addClass('hide');            $('.ShowMessages').text('Показать');        }    }); }

/*******************************/ /*** Убирает предложение в голубой рамочке о переходе на вики на русском языке ***/ /*******************************/ $(function {    var waitToRemoveNotif = setInterval(function  { if ($('.banner-notification:contains("также доступна на русском языке.")').length) { $('.banner-notification:contains("также доступна на русском языке.")').remove; clearInterval(waitToRemoveNotif); }   }, 500); });

EditIntroButtonText = 'Редактировать преамбулу';

importScriptPage('User:Wildream/ContributionsCalculator.js', 'ru.community');