I mean, you now modify your copy of the skin fine.
Rob Church
On 22/12/05, Travian Wiki travian.wiki@gmail.com wrote:
I can modify the existing skin. I want to copy MonoBook and then modify the copied version and still have the original version of MonoBook run along side the new skin.
On 12/22/05, Rob Church robchur@gmail.com wrote:
Nothing. That's the whole idea of class inheritance. You ought to find that modification of the skin will now be relatively painless.
Rob Church
On 22/12/05, Travian Wiki travian.wiki@gmail.com wrote:
Is it possible to make a copy of the MonoBook skin, and then rename it
to
something else? I want to copy the MonoBook skin, and then start
modifying
it from there.
So far, I know that you have to copy the MonoBook folder and rename it
to
the skin name. You then have to copy Monobook.php and rename it to the
skin
name. You then have to change the lines -
class SkinChristmas extends SkinTemplate {
/** Using monobook. */
function initPage( &$out ) {
SkinTemplate::initPage( $out );
$this->skinname = 'Christmas';
$this->stylename = 'Christmas';
$this->template = 'ChristmasTemplate';
}
}
In this example, it would make a skin called Christmas. Where do you go from here? What has to be modified in SkinTemplate.php and
SkinPHPTal.php?
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l