Thread:Extension talk:MobileFrontend/$wgMobileUrlTemplate isn't working

Extension installed. At default settings, works. Have subdomains properly set up so an m. version arrives as it should. BUT try to make things work with a mobile subdomain and it seems to fall apart.

Without $wgMobileUrlTemplate defined, at the bottom of the page the link to the mobile version will be something like "http://wiki.domain.tld/index.php?title=1989&mobileaction=toggle_view_mobile", which when clicked shows the mobile version. If I do $wgMobileUrlTemplate = "m.wiki.domain.tld";, though, I end up with a link like "http://m.wiki.domain.tld/index.php?title=1989&title=1989". Superfluous second title, and when clicked just shows the desktop version again anyway. I've tried various things for $wgMobileUrlTemplate, but it makes no functional difference whether I instead give it something like "m.%h0.%h1.%h2". Using MediaWiki 1.22.3 and the current version of MobileFrontend.