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://c.wikia.com/wiki/Thread:1589008'; }