https://bugzilla.wikimedia.org/show_bug.cgi?id=62436
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 Assignee: wikibugs-l@lists.wikimedia.org Reporter: ques...@rambler.ru CC: aricha...@wikimedia.org, jgon...@wikimedia.org, jrob...@wikimedia.org, kw...@wikimedia.org, maxsem.w...@gmail.com, rkald...@wikimedia.org 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l