MediaWiki:Wikia.js

// ================================================================== // Description: Redirects from /User:UserName/skin.js or .css to the user's actual skin page // Maintainer: Cacycle // ================================================================== if (wgArticleId == 0 && wgUserName) { var slash = wgPageName.indexOf('/'); var norm = wgPageName.substr(0, slash) + wgPageName.substr(slash).toLowerCase; var test = 'User:' + wgUserName.replace(/ /g, '_') + '/skin.'; var ext = null; if (norm == test + 'js') ext = 'js'; else if (norm == test + 'css') ext = 'css'; if (ext != null) window.location.href = window.location.href.replace(/\/skin.(css|js)/i, '/' + skin.replace('oasis', 'wikia') + '.' + ext); };

// Codference notification

var dateOfMeeting = '6/8/11'; var notificationMessage = 'We will be holding our first Codference in 18:00:00 6 August 2011 -0000 on August 6, at 18:00 UTC  (August 6, 18:00 UTC). See this page for more information.'; importScriptPage('User:Sactage/CustomNotif.js', 'callofduty');