https://bugzilla.wikimedia.org/show_bug.cgi?id=61358

Morbus Iff <mor...@disobey.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #17 from Morbus Iff <mor...@disobey.com> ---
Fact dump:

 * Old wiki, updated a number of times.
 * No core hacks or patches.
 * Never configured for https:.
 * Brand new install of MobileFrontend.
 * Vanilla enabled - no additional config past $wgMFAutodetectMobileView.
 * Running today-pulled REL1_22 of both core and MobileFrontend.
 * $wgSecureLogin is not set.

The cause is in MobileContext::getMobileUrl( $url, $forceHttps = false ),
namely that second argument. In the code, if that evaluates to TRUE, then the
scheme is set to https - the expectation for that argument is a boolean. But,
if you look in onSkinTemplateOutputPageBeforeExec(), you'll see that $args, an
array, is being passed to it. In my case, $wgMobileUrlTemplate wasn't
configured, so $args will always be an array filled with the mobileaction =>
toggle_view_mobile.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to