MediaWiki:Common.js

//Redirect chat to a url if the chat isn't enabled if (   mw.config.get('wgCanonicalSpecialPageName') === 'Chat' &&    !mw.loader.getState('ext.Chat2') ) { window.location = 'https://community.fandom.com/wiki/Staff_Office_Hours'; }

//LockForums - lock after 60 days (default: 30) window.LockForums = { expiryDays: 60 };

$(function {   $('.wds-global-navigation__logo').attr({ href: 'https://bit.ly/fandom-homepage' }).prepend( $(' ', {           src: 'https://images.wikia.com/communitytest/images/4/42/Fandom-pride.svg/revision/latest/scale-to-width-down/26',            css: {                position: 'absolute'            }        }) );   $('.wds-global-navigation__logo-image path:first').remove; });