Author: questpc
Description:
I developed custom Vector-derived skin and made few tweaks to Minerva mobile skin. In Vector-derived skin I use $this->html('mobileview') in skin footer. It properly generates &mobileaction=toggle_view_mobile for "ordinary" pages but is not initialized for special pages. The cause is in MobileFrontendHooks::onSkinTemplateOutputPageBeforeExec hook, which skips generation of template variable for special pages:
if ( !$isSpecial && !$context->isBlacklistedPage() ) {
...
}
Is it impossible to switch special pages to Minerva skin or is that a bug? If that's impossible I'd tell the customer that the mobile switch link will be unavailable at special pages.
Version: unspecified
Severity: normal