MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */   "use strict"; //Prevent links that act like buttons from scrolling to the top of the page $(function{       $('a.button[href="#"], #WikiaBar a.global-shortcuts-help-entry-point[href="#"]').prop("href", "javascript:;");    }); mw.hook('AllPagesHideRedirect.loaded').add(function{       $('a.button[href="#"]').prop("href", "javascript:;");    }); if(!Array.isArray){ Array.isArray = function(obj){ return Object.prototype.toString.call(obj) === "[object Array]"; }   }    //fix body size on mobile $("head").append(''); mw.hook('jsspecialpage.ready').add(function(e){       e("AllActivity", ' https://speedcubesolving.fandom.com/ ');        e("AssociatesActivity", ' https://bignate.fandom.com/https://speedcubesolving.fandom.com/https://big-nate-comments.fandom.com/https://fowl-language.fandom.com/ ');        e("NewPagesUser", ' ');    }); root.UserTagsJS = { modules: { mwGroups: [ 'bureaucrat', 'sysop', 'content-moderator', 'chatmoderator', 'threadmoderator', 'rollback', 'bot', 'bot-global' ],           nonuser: true, custom: { "7o'clock": ["Clock"], "19o'clock": ["Clock"], "Spyroclub": ["Professional Cuber"], "ItsP-dog": ["Dog"], "Positive Elixir Trade": ["CSS Guru"] }   	},    	tags: { "Clock": { u: "Clock" },   	    "Professional Cuber": { u: "Professional Cuber" },   	    "Dog": { u: "Dog" },   	    "CSS Guru": { u: "CSS Guru" },   	    "founder": { order: -1 },   	    "bureaucrat": { order: 0 },   	    "sysop": { order: 1 },   	    "content-moderator": { order: 2 },   	    "threadmoderator": { order: 3 },   	    "chatmoderator": { order: 4 },   	    "rollback": { order: 5 }   	},    	oasisPlaceBefore: '' };   root.BackToTopModern = true; })(this, this.jQuery);
 * (function(root, $, udf){