MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Test disabling old mobile css loading) |
(Disabled Minerva-specific styles workaround) |
||
Line 5: | Line 5: | ||
window.location.replace("https://bluearchive.wiki" + window.location.pathname); |
window.location.replace("https://bluearchive.wiki" + window.location.pathname); |
||
} |
} |
||
// Common styles are currently loaded through an @import statement in MediaWiki:Mobile.css. I do not know what calls mw.loader.using('mobile.site.styles') currently, but it appears to happen. This code is preserved in case something breaks after caches expire. |
|||
if (mw.config.get("skin") === "minerva") { |
// if (mw.config.get("skin") === "minerva") { |
||
// This hack is required to get custom css to load in mobile view. See https://phabricator.wikimedia.org/T270845 |
// // This hack is required to get custom css to load in mobile view. See https://phabricator.wikimedia.org/T270845 |
||
// loadMobileStylesheet(); |
|||
} |
// } |
||
function initCountdown() { |
function initCountdown() { |
||
var reset = new Date(); |
var reset = new Date(); |