MediaWiki:Common.js

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

//By default add category for new images if(wgPageName == 'Special:Upload' || wgPageName == 'Special:MultipleUpload') { $('#wpUploadDescription').val(''); }

//Configuration for AjaxRC window.ajaxPages = ["Some Frequently Updated Page"]; window.ajaxSpecialPages = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxIndicator = 'https://images.wikia.nocookie.net/software/images/a/a9/Indicator.gif'; window.ajaxRefresh = 30000; $.extend(true, window, {dev: {i18n: {overrides: {AjaxRC: {   'ajaxrc-refresh-text': 'AJAX',    'ajaxrc-refresh-hover': 'Enable page auto-refresh', }}}}});