forked from surplus-dev/Discard-MediaWiki-Skin-ACME
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathacme.php
More file actions
40 lines (33 loc) · 1.39 KB
/
acme.php
File metadata and controls
40 lines (33 loc) · 1.39 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
37
38
39
40
<?
if ( ! defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'acme',
'url' => 'https://shapebootstrap.net/item/1524925-acme-free-responsive-corporate-template/comments',
'author' => 'cosmic 원본, 김동동 수정<br>2DU 더 수정',
'description' => 'acme 부트스트랩 테마를 미디어위키에 적용합니다.',
'license-name' => "FREE LICENSE",
'version' => '16-07-28 일반',
);
$wgValidSkinNames['acme'] = 'Acme';
$wgAutoloadClasses['SkinAcme'] = __DIR__ . '/acme.skin.php';
$skinDirParts = explode( DIRECTORY_SEPARATOR, __DIR__ );
$skinDir = array_pop( $skinDirParts );
$wgResourceModules['skins.acme'] = array(
'styles' => array(
$skinDir . '/css/bootstrap.min.css' => array( 'media' => 'all' ),
$skinDir . '/css/theme.css' => array( 'media' => 'all' ),
$skinDir . '/css/bootstrap-reset.css' => array( 'media' => 'all' ),
$skinDir . '/css/style.css' => array( 'media' => 'all' ),
$skinDir . '/css/style-responsive.css' => array( 'media' => 'all' ),
),
'dependencies' => array(
'jquery',
'jquery.mwExtension',
'jquery.client',
'jquery.cookie',
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
?>