Fix ArchWiki's awful styling

Fix ArchWiki's awful styling

Sep 2, 2023

By @x86asm_

Full fix (JS)

const key = 'useskinversion';
const params = new URLSearchParams(window.location.search);
const version = params.get(key);
if (!version) {
  // replace makes redirect not reflected in the browser back history
  window.location.replace(`${window.location.href}?${key}=1`);
}

Size fix (CSS)

.skin--responsive, .mw-page-container, .mw-content-container, .mw-workspace-container, .mw-article-toolbar-container {
     max-width: none;
     margin-left: 0;
     margin-right: 0;
}