forked from South-Paw/Bootstrap-MediaWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap-mw.php
More file actions
36 lines (32 loc) · 1.19 KB
/
bootstrap-mw.php
File metadata and controls
36 lines (32 loc) · 1.19 KB
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
<?php
/**
* Bootstrap MW: A Bootstrap theme for MediaWiki
*
* @file
* @ingroup Skins
* @author South Paw (http://southpaw.co.nz/)
* @license MIT License, see LICENSE file
*/
if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'Bootstrap MW', // name as shown under [[Special:Version]]
'version' => '1.0',
'date' => '20141005',
'url' => "https://github.com/South-Paw/Bootstrap-MW",
'author' => 'South Paw // http://southpaw.co.nz/',
'descriptionmsg' => 'bootstrap-mw-desc',
);
$wgValidSkinNames['bootstrapmw'] = 'BootstrapMW';
$wgAutoloadClasses['SkinBootstrapMW'] = __DIR__ . '/Bootstrap-MW.skin.php';
$wgExtensionMessagesFiles['BootstrapMW'] = __DIR__ .'/Bootstrap-MW.i18n.php';
$wgResourceModules['skins.bootstrapmw'] = array(
'styles' => array(
'Bootstrap-MW/css/bootstrap.min.css' => array( 'media' => 'screen' ),
'Bootstrap-MW/css/font-awesome.min.css' => array( 'media' => 'screen' ),
'Bootstrap-MW/css/style.css' => array( 'media' => 'screen' ),
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
?>