Topic on Extension talk:MobileFrontend

Mobile view linking problem. MobileFrontend

2
Samuel Peter9 (talkcontribs)

Mediawiki 1.22.0

Hello,

I have two wikis linked 'mainwiki.com' and 'de.mainwiki.com' now I have installed MobileFrontend, but I cant link the two wikis via $wgMobileUrlTemplate. How to link these sites together? Im using 'm.mainwiki.com' and 'de.m.mainwiki.com' for mobile.

Linking on desktop view works perfect. The problem seems to be that the URL´s for the sites are not similar as of lenght. Is there anyway to link these sites without changing 'mainwiki.com' URL I.E. 'fr.mainwiki.com'?

Thanks.

Samuel Peter9 (talkcontribs)

In german Localsettings.php I have $wgMobileUrlTemplate = "%h0.m.%h1.%h2"; and in english $wgMobileUrlTemplate ="m.%h0.%h1"; So when I try to switch language i.e. from german to english it tries to look for URL 'mainwiki.m.com./'.

Has anyone have any suggestions?

Reply to "Mobile view linking problem. MobileFrontend"