This repository has been archived by the owner on Dec 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
SuperTuxKart.php
53 lines (44 loc) · 1.5 KB
/
SuperTuxKart.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Foo Bar skin
*
* @file
* @ingroup Skins
* @author Jean-Manuel Clemencon (Design), konstin (Programming)
* @license CC-BY-SA
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This is an extension to the MediaWiki package and cannot be run standalone.' );
}
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'SuperTuxKart',
'namemsg' => 'SuperTuxKart',
'version' => '1.0',
'url' => 'https://github.com/konstin/STK-wiki-theme',
'author' => array('Jean-Manuel Clemencon (Design)', 'konstin (Programming)'),
'descriptionmsg' => 'A Skin for the Website of SuperTuxKart',
'license' => '',
);
$wgValidSkinNames['supertuxkart'] = 'SuperTuxKart';
$wgAutoloadClasses['SkinSuperTuxKart'] = __DIR__ . '/SuperTuxKart.skin.php';
$wgAutoloadClasses['SuperTuxKartTemplate'] = __DIR__ . '/SuperTuxKartTemplate.php';
$wgMessagesDirs['SuperTuxKart'] = __DIR__ . '/i18n';
$wgResourceModules['skins.supertuxkart'] = array(
'position' => 'bottom',
'styles' => array(
'supertuxkart.less' => array( 'media' => 'screen' ),
'css/font-awesome.min.css' => array( 'media' => 'screen' ),
'css/font-stk-get-involved-icons.css' => array( 'media' => 'screen' ),
),
'remoteSkinPath' => 'SuperTuxKart',
'localBasePath' => __DIR__,
);
$wgResourceModules['skins.supertuxkart.dropdown.js'] = array(
'scripts' => array(
'js/responsive-youtube-video-size.js',
),
'remoteSkinPath' => 'SuperTuxKart',
'localBasePath' => __DIR__,
);
?>