Extension:SkinPerNamespace

This extension allow to specify a per-namespace skin that can be configured in, but this will also override users preferences, to avoid this you can set   to.

Installation
Download SkinPerNamespace.php and put it in  directory of your MediaWiki installation, then edit   and add the following line :

Configuration
You can configure this extension with to variables :
 * $wgSkinPerNamespace : array mapping namespaces index (i.e. namespaces numbers and not names) to a skin name. Use all lower case name for skin, like monobook, modern, ... otherwise it simply won't work. Example:
 * Note: you can find the constants in.


 * $wgSkinPerNamespaceOverrideLoggedIn, if set to true (default value), it will also override the the skin for logged in users, to avoid this you can set it to false and  will only apply to anonymous users.

This also work for some special pages, but not all, as this extension use SpecialPageExecuteBeforePage to change the skin and this hook is not called when using special pages defined by extensions or the following pages from the core of MediaWiki :
 * Special:RandomPage (only when no pages are aviable)
 * Special:RandomRedirect (same as above)
 * Special:Confirmemail
 * Special:Booksources
 * Special:Userrights
 * Special:Invalidateemail (only aviable since 1.13)