Open main menu

Extension talk:SkinPerPage

Under 1.17.0 I receive a blank page when using this module.

I think that it is not compatible with 1.17.0.

Can you confirm?

How about 1.18 or 1.19

Contents

<skin>SkinName</skin>Edit

When you say add this to the page <skin>SkinName</skin>

Which page is that? I added it to the wiki page I want to change the skin on but it does nothing.

Does not work on 1.18Edit

The extension does not work on MediaWiki 1.18 — Preceding unsigned comment added by 91.119.209.150 (talkcontribs)

Hi, please explain the errors that you are getting on this extension, so that we can work out the root issue and resolve it. Thanks! --Hydriz (talk) 13:54, 8 October 2012 (UTC)
I fixed it. A working version: https://github.com/stfairy/SkinPerPage

Latest version doesn't work with 1.21.1Edit

For some reason the latest branches don't work with Version 1.21.1 until I added this little bit in the outputHook function:

RequestContext::getMain()->setSkin( $wgUser->mSkin );

(from here: https://github.com/stfairy/SkinPerPage/blob/master/SkinPerPage.php )

Is this a bug or is there some misconfiguration at my end? --122.166.163.93 17:26, 20 August 2013 (UTC)

Latest version doesn't work with 1.24Edit

Same issue in 1.24 - it looks like mSkin no longer exists as a property of User, and SkinPerPage should be using RequestContext instead. If fixed by replacing the $wgUser->mSkin assignment with

RequestContext::getMain()->setSkin( Skin::newFromKey( $parserOutput->spp_skin ) ); --Firebus (talk) 02:58, 5 June 2015 (UTC)

Return to "SkinPerPage" page.