MediaWiki:Common.js: Difference between revisions

Disabled Minerva-specific styles workaround
m (Test disabling old mobile css loading)
(Disabled Minerva-specific styles workaround)
 
Line 5:
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") {
// // This hack is required to get custom css to load in mobile view. See https://phabricator.wikimedia.org/T270845
// //loadMobileStylesheet();
// }
function initCountdown() {
var reset = new Date();