User:FrankSpheres/common.js

/* HotCat configuration */ window.hotcat_use_category_links = true; window.hotcat_del_needs_diff = true;

/* Force Wikipedia to use the desktop version. Google on mobile uses "en.m.wikipedia.org", this scripts redirects to the normal version. CC0 if(window.location.href.match(/^https?:\/\/[^.]+\.m\./)) { var desktopUrl = $('#mw-mf-display-toggle').attr('href'); var hash = window.location.hash; if(desktopUrl) { if(hash) { desktopUrl = desktopUrl + hash; } 	window.location.href = desktopUrl; } }