forked from surplus-dev/Discard-MediaWiki-Skin-ACME
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCloud.php
More file actions
41 lines (34 loc) · 1.54 KB
/
Cloud.php
File metadata and controls
41 lines (34 loc) · 1.54 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
41
<?php
if ( ! defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => 'Cloud',
'url' => 'https://shapebootstrap.net/item/1524925-acme-free-responsive-corporate-template/comments',
'author' => 'cosmic, 김동동, 2DU, 코코아, CES, 키위',
'description' => '구름위키의 기본 스킨입니다.',
'license-name' => "FREE LICENSE",
'version' => 'Release',
);
$wgValidSkinNames['cloud'] = 'Cloud';
$wgAutoloadClasses['SkinCloud'] = __DIR__ . '/CloudSkin.php';
$skinDirParts = explode( DIRECTORY_SEPARATOR, __DIR__ );
$skinDir = array_pop( $skinDirParts );
$wgResourceModules['skins.cloud'] = 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' ),
$skinDir . '/css/librewiki.css' => array( 'media' => 'all' ),
),
'scripts' => array(
$skinDir . '/js/jquery.min.js',
$skinDir . '/js/bootstrap.min.js',
$skinDir . '/js/adsbygoogle.js',
$skinDir . '/js/Gadget-ReferenceTooltips-ko.js',
$skinDir . '/js/R-18_NoAD.js',
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);