User:Kora Stormblade/global.js

//================================// //====AjaxRC - adds an autorefresh to the recent feed====// //================================// //Loading gif// window.ajaxIndicator = 'http://images2.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif'; //Refresh time// window.ajaxRefresh = 20000; //Refresh text and hovertext// window.AjaxRCRefreshText = '20 Seconds'; window.AjaxRCRefreshHoverText = ''; importScriptPage('MediaWiki:AjaxRC/code.js', 'dev');

//================================// //====Contribs on profile scrolldown====// //================================// ///START OF "MY CONTRIBUTIONS"/// mw.loader.using('mediawiki.util', function {	if ($('a[data-id="contributions"]').length || !$('.wds-global-navigation__content-bar').length) return;	var i18n = {		en: "My Contributions",		es: "Mis Contribuciones",		ko: "기여 목록",		pt: "Minhas contribuições",		'pt-br': "Minhas contribuições"	};	i18n = i18n[mw.config.get("wgUserLanguage")] || i18n[mw.config.get("wgContentLanguage")] || i18n.en;	$('.wds-global-navigation__user-menu div:nth-child(3) ul li:nth-child(3)').after('' + i18n + ''); }); ///START OF "SANDBOX"/// mw.loader.using('mediawiki.util', function {	if ($('a[data-id="sandbox"]').length || !$('.wds-global-navigation__content-bar').length) return;	var i18n = {		en: "Sandbox",	};	i18n = i18n[mw.config.get("wgUserLanguage")] || i18n[mw.config.get("wgContentLanguage")] || i18n.en;	$('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('' + i18n + ''); }); ///START OF "Projects"/// mw.loader.using('mediawiki.util', function {	if ($('a[data-id="Projects"]').length || !$('.wds-global-navigation__content-bar').length) return;	var i18n = {		en: "Projects",	};	i18n = i18n[mw.config.get("wgUserLanguage")] || i18n[mw.config.get("wgContentLanguage")] || i18n.en;	$('.wds-global-navigation__user-menu div:nth-child(2) ul li:nth-child(2)').after('' + i18n + ''); });