Wikipedia mobile view on desktop

I think I am getting old, or Wikipedia's desktop site is just plain bad. Anyways, here is a Tapermonkey script

I think I am getting old, or wikipedia's desktop site is just plain bad. Anyways, here is a tapermonkey script that will just add '?mobileaction=toggle_view_mobile' to the end of the location and refresh. It's not perfect, but seems to work.

// ==UserScript==
// @name         Wikipedia mobile4desktop
// @namespace    https://www.paulchabot.ca
// @version      0.1
// @description  gives you the mobile version of wikipedia
// @author       Paul Chabot
// @match        https://*.wikipedia.org/wiki/*
// @run-at       document-start
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    //alert(location + '?mobileaction=toggle_view_mobile');
    if (/\?$/.test (location.pathname) ) {
        var new_url = location + '?mobileaction=toggle_view_mobile';
        location.replace(new_url);
    }
})();

I made a gist on my github.

.