forked from OSAS/strapping-mediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
strapping.php
45 lines (40 loc) · 1.6 KB
/
strapping.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
<?php
/**
* My Skin skin
*
* @file
* @ingroup Skins
* @author Garrett LeSage
*/
if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'Strapping',
'url' => "https://github.com/OSAS/strapping-mediawiki",
'author' => 'Garrett LeSage',
'descriptionmsg' => 'strapping-desc',
);
$wgValidSkinNames['strapping'] = 'Strapping';
$wgAutoloadClasses['SkinStrapping'] = dirname(__FILE__).'/Strapping.skin.php';
$wgExtensionMessagesFiles['SkinStrapping'] = dirname(__FILE__).'/Strapping.i18n.php';
$wgResourceModules['skins.strapping'] = array(
'styles' => array(
'strapping/bootstrap/css/bootstrap.css' => array( 'media' => 'screen' ),
'strapping/bootstrap/css/bootstrap-responsive.css' => array( 'media' => 'screen' ),
'strapping/bootstrap/awesome/css/font-awesome.css' => array( 'media' => 'screen' ),
'strapping/screen.css' => array( 'media' => 'screen' ),
'strapping/theme.css' => array( 'media' => 'screen' ),
),
'scripts' => array(
'strapping/bootstrap/js/bootstrap.js',
'strapping/strapping.js',
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
# Default options to customize skin
$wgStrappingSkinLogoLocation = 'bodycontent';
$wgStrappingSkinLoginLocation = 'footer';
$wgStrappingSkinAnonNavbar = false;
$wgStrappingSkinUseStandardLayout = true;
$wgStrappingSkinDisplaySidebarNavigation = false;