[04:22:38] hi. i love the idea of using ?useformat=mobile to get the mobile view with the clean url without needing to modify my reverse proxy to add a "mobile.$domain" subdomain. the parameter works, but it doesn't seem to be the default way to get mobile pages. if i click the "Mobile version" link at the bottom of the site, i get index.php?title=Example&mobileaction=toggle_view_mobile instead [04:23:41] how can i get the default to use the clean url? like example.com/wiki/example?useformat=mobile [04:24:18] the Extension:MobileFrontend doesn't provide details https://www.mediawiki.org/wiki/Extension:MobileFrontend#Non-WMF_sites [05:14:27] alright, maybe the mobile view is working via the request header/ua detection alone. and im just confused. the real issue isn't related to the mobile view. it's that mediawiki is simply linking to the old style urls in certain places [05:16:14] i could force it with a rewrite rule /index.php? -> /wiki/$1 but i think it would be better to find out why the old style links are being used [21:51:35] goddamnwizards: useformat is indeed a temporary way to override it, more for debugging than anything else. [21:52:21] goddamnwizards: the recommended setup is indeed to vary by user agent transparently. If you have no caching in front of MW than you can let MobileFrontend do that directlyz [21:53:16] Otherwise, you'll want to use a Ua regex in eg Varnish or Nginx etc whatever you use, and then translate that to a header like X-Mobile:1 and tell MobileFrontend that that the the header you use as toggle [21:53:58] From an end user perspective, the default should be automatic. The footer link is to override the default. Eg prefer mobile on an apparent desktop browser and vice versa. [21:54:34] The toggle action parameter is to instruct MW to set a cookie so that your next pageview (without any query param) will stick to the same experience. [21:54:57] Good luck. Feel free to ask more :)