MediaWiki:Wikia.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* Configuration for w:c:dev:I18n-js */ window.dev = window.dev || {}; window.dev.i18n = window.dev.i18n || {}; window.dev.i18n.overrides = window.dev.i18n.overrides || {};

/* Configuration for w:c:dev:AddRailModule */ window.AddRailModule = [ {page: 'Template:DiscordRailModule', prepend: true}, // 'Template:DiscussionsRailModule',                    // ]; mw.hook('wikipage.content').add(function ($elem) {   $elem.filter('section.railModule.rail-module')         .find('span.wds-button>a:only-child')         .attr('class', 'wds-button')         .unwrap; });

/* Configuration for w:c:dev:AjaxRC */ window.ajaxSpecialPages = ['Recentchanges', 'WikiActivity', 'Log', 'Contributions', 'AbuseLog']; window.dev.i18n.overrides['AjaxRC'] = { 'ajaxrc-refresh-text': 'Auto refresh', 'ajaxrc-refresh-hover': 'Check to automatically refresh this page', };

/* Configuration for w:c:dev:InactiveUsers */ window.InactiveUsers = { months: 1 };

/* External imports */ importArticles({   type: 'script',    articles: [        'w:c:admintools:MediaWiki:Wikia.js/editCount.js',    ] });