Bug ID: 62436
           Summary: SkinTemplate template key 'mobileview' value is not
                    initialized for desktop versions of special pages.
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: beta
       Web browser: ---
   Mobile Platform: ---

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.

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

Reply via email to