Topic on Project:Support desk

Extension:mobilefrontend

6
86.135.249.249 (talkcontribs)

how do I setup $wgMobileUrlTemplate = '%h0.m.%h1.%h2'; this to work so it like Wikipedia and mediawiki because I doint know how you got it to work please help how do I setup mobile access what was your configuaration

88.130.121.132 (talkcontribs)
86.135.249.249 (talkcontribs)

yes I have but it only tells you that $wgMobileUrlTemplate = '%h0.m.%h1.%h2'; this is used manyly by Wikimedia foundation but dosent tell you how to get it working or how Wikimedia foundation got it to work

88.130.121.132 (talkcontribs)

The description tells you:

Template used to transcode regular URLs into mobile URLs (optional, and probably an overkill for low-traffic sites). Can either be set as a static domain (eg 'mobile.mydomain.com'), or can use a template based off the host portion of your desktop domain. The token '%h0' represents the first portion of the hostname, '%h1' the second, and so on. For example, to achieve http://en.m.wikipedia.org from http://en.wikipedia.org, you would use: %h0.m.%h1.%h2

So what is your domain name and what have you set $wgMobileUrlTemplate to?

86.135.249.249 (talkcontribs)

I have set it to what you just said but it says domain doesent esist

86.135.249.249 (talkcontribs)

Do I create a subdomain called m.mobiledomain.org for example and then put the template in LocalSettings and then I doint have to create a subdomain for all my domains

Reply to "Extension:mobilefrontend"