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(a)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(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l