MediaWiki:Common.js: Difference between revisions
No edit summary |
m (Applying changes that should make this JS file partially HTTPS-ready. If you have any questions or noticed issues related to this edit, please reach out to us using the Special:Contact page.) |
||
Line 1: | Line 1: | ||
window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; |
window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; |
||
window.ajaxIndicator = ' |
window.ajaxIndicator = 'https://vignette.wikia.nocookie.net/subnautica/images/d/de/Ajax-loader.gif'; |
||
window.ajaxRefresh = 30000; |
window.ajaxRefresh = 30000; |
||
window.AjaxRCRefreshText = 'Auto-refresh'; |
window.AjaxRCRefreshText = 'Auto-refresh'; |
Revision as of 18:49, 16 March 2018
window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"];
window.ajaxIndicator = 'https://vignette.wikia.nocookie.net/subnautica/images/d/de/Ajax-loader.gif';
window.ajaxRefresh = 30000;
window.AjaxRCRefreshText = 'Auto-refresh';
window.AjaxRCRefreshHoverText = 'Automatically refresh the page';
window.UserTagsJS = {
modules: {},
tags: {
rollback: { u: 'Rollback', order: 100 }
}
};
UserTagsJS.modules.custom = {
'Mesmerized': ['rollback'],
'MorphGuy': ['rollback'],
'Squidy_Frykas': ['rollback'],
};
$(function() {
if (window.disableUsernameReplace || mw.config.get('wgUserName') === null) { return; }
$('span.insertusername').text(mw.config.get('wgUserName'));
});