On Dec 6, 2004, at 8:58 AM, Evan Prodromou wrote:
So, I think one of the big questions third-party
admins have is how to
skin MediaWiki. Right now, it requires writing some PHP code.
To concretize this, here's the PHP code for a new skin which will use
MonoBook's HTML skeleton and replace the styles:
require_once( 'MonoBook.php' );
class SkinSuperCool extends SkinMonoBook {
function initPage( &$out ) {
parent::initPage( $out );
$this->skinname = 'supercool';
$this->stylename = 'supercool';
}
}
Now, perhaps we could get rid of even that, but it's most of the way
there. What actually needs to be different?
-- brion vibber (brion @
pobox.com)