I have this for the files:
- sturmkrieg.php
<?php
/**
* Sturmkrieg skin
*
* @file
* @ingroup Skins
* @author Sasha Ehrenstein (http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein)
*/
if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
$wgExtensionCredits['skin'][] = array (
'path' => __FILE__,
'name' => 'Sturmkrieg',
'url' => "[http://www.sturmkrieg.com]",
'author' => '[http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein Inquisitor Ehrenstein]',
'descriptionmsg' => 'mywiki-desc',
);
$wgValidSkinNames['sturmkrieg'] = 'Sturmkrieg';
$wgAutoloadClasses['SkinSturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.skin.php';
$wgExtensionMessagesFiles['Sturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.i18n.php';
$wgResourceModules['skins.sturmkrieg'] = array(
'styles' => array(
'sturmkrieg/screen.css' => array( 'media' => 'screen' ),
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
- Sturmkrieg.i18n.php
<?php
/**
* Internationalization file for skin Sturmkrieg.
*
* @file
* @ingroup Skins
*/
$messages = array();
/** English
* @author Inquisitor Ehrenstein
*/
$messages['en'] = array(
'skinname-sturmkrieg' => "Sturmkrieg",
'sturmkrieg-desc' => "The default skin of Sturmkrieg.",
);
- Sturmkrieg.skin.php
<?php
/**
* Skin file for skin Sturmkrieg.
*
* @file
* @ingroup Skins
*/
require_once( dirname( __FILE__ ) . '/../Vector.php' );
/**
* SkinTemplate class for Sturmkrieg skin
* @ingroup Skins
*/
class SkinSturmkrieg extends SkinVector {
var $skinname = 'sturmkrieg', $stylename = 'sturmkrieg';
/**
* @param $out OutputPage object
*/
function setupSkinUserCss( OutputPage $out ){
parent::setupSkinUserCss( $out );
$out->addModuleStyles( "skins.sturmkrieg" );
}
}
This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.