Topic on Project:Support desk

Creating a skin based on Monobook Skin

2
91.179.32.166 (talkcontribs)

Hi,

I want to create a new skin, based on monobook theme. No changes, but want to give it a new name. In my case I want to call it 'Compiler'.

The things that I tried were 1. create Compiler.php by copying Monobook.php 2. Create compiler/ folder by copying monobok/ 3. replace every instance of Monobook to Compiler in Compiler.php 4. Add skins.compiler and the corresponding entries in Resource loader.

Now when I login, I can select the 'Compiler' skin. And once I save it, all radio buttons or selectable boxes on 'my preferences' page on the wiki become unselectable and I cannot revert back to monobook.

Could anyone tell what is a proper method to create a duplicate skin based on the monobook skin? I have not found much documentation on creating a new skin based on existing themes,

Thanks in advance


Yours Sincerely,

Arnab

Reply to "Creating a skin based on Monobook Skin"