I've seen that there are user scripts that Wikipedia users can add to their user profiles. Is there a way to add detect whether the mobile is active and redirect to the desktop version this way?
Wikipedia – Permanently Disable Mobile Version of Wikipedia on Mobile Devices
wikipedia
Related Topic
- How to report Copyright infringement on Wikipedia
- How to update Wikipedia citations for pages which are no longer available
- Wikipedia – Use ‘Reading List’ from Web Browser
- Wikipedia – Disable or Change Access Keys in Firefox
- Wikipedia Mobile Version – How to Force Mobile View on Desktop
- How to know how many people have their own page on Wikipedia
- The easiest way to fix multiple dead links a article Wikipedia
Best Answer
My solution uses the a of MediaWiki which allows you to load custom JavaScript into all visited pages while you're logged in. To use it, create an account, navigate to the Appearance section of your preferences and click on Custom JavaScript for Shared CSS/JavaScript for all skins. Paste the following script into the editor there:
When the mobile version of a page is loaded, it will look for the Desktop link at the bottom of the page and navigate to the linked URL.
Make sure to switch to the desktop version when you log in to your account on your phone. Only then will it allow you to choose Keep me logged in (for up to 365 days).
This code relies on details of how the link to the desktop site can be identified. Please ping me in the comments when this breaks and I will happily provide an updated version here.