Topic on Extension talk:MobileFrontend

"Mobile view" link in footer is https, my server doesn't support that

6
Tickle me (talkcontribs)
Florianschmidtwelzow (talkcontribs)

Hello!

What is your value of $wgMobileUrlTemplate in your LocalSettings.php?

P.S.: You should think about to upgrade your MediaWiki version to at least MW 1.23 or any other supported version, support for 1.22 will be dropped in December 2014 :)

Tickle me (talkcontribs)
//$wgMobileUrlTemplate = 'mob.openbike.org';
$wgMFAutodetectMobileView = true;


I'm on hosted webspace (LAMP) so I can't configure Apache to send custom headers as described at Extension:MobileFrontend/Configuring_browser_auto-detection

I can send c. headers with PHP, (or htacces, I guess) but I don't know if that does the trick (it's not mentioned above), so I didn't set $wgMobileUrlTemplate, though I would like to. (subdomain mob.openbike.org is active) As it is, I guess I need to relay on $wgMFAutodetectMobileView, but setting up https would cost extra for a certificate--I'd like to do without. I could fiddle with the extension's source code, but that's not advisable, so I'm at a loss.

re:upgrade
will do

Florianschmidtwelzow (talkcontribs)

Hello!

Normally the link has the same protocol like all other links, too. Have you changed something in the files of MobileFrontend? Can you try to upgrade to MW 1.23 (is much more work, but if you planned to do that, it will be interesting, if the same issue is there, too). Can you post (maybe via a pastebin service) your non-priavte settings of your LocalSettings.php?

193.34.162.150 (talkcontribs)

Hi! I've got the same problem. And I have MediaWiki 1.22 but now i don't have time to upgrade. It's always pain in the ass... Where is this https:// hardcoded?

Peter

Florianschmidtwelzow (talkcontribs)

It's not hardcoded ;) I have now tested MW 1.22 with MF for MW 1.22, and there is no redirect to https, http is used. So it's a problem of your configuration (MW/MF or Server) Can you post your MobileFrontend related configuration variables in your LocalSettings.php?

Reply to ""Mobile view" link in footer is https, my server doesn't support that"