forked from inderpreetsingh/brl-cad-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brlcad.php
32 lines (27 loc) · 1014 Bytes
/
brlcad.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
<?php
/**
* BrlCad Skin skin
*
*@file
*@ingroup Skins
*@author Inderpreet Singh (http://ishwerdas.com)
*@license http://www.gnu.org/copyleft/gpl.html GNU General Public License 3.0 or Later
*/
if( !defined ( 'MEDIAWIKI' ) ) die( "This is an extension to the Mediawiki package and cannot run standalone." );
$wgExtensionCredits['skin'][] = array (
'path' => _FILE_,
'name' => 'BrlCad Skin',
'url' => "[http://ishwerdas.com/brlcad-skin]",
'author' => '[http://ishwerdas.com]',
'descriptionmsg' => 'This is a custom mediawiki skin made for the BRL-CAD\'s wiki website',
);
$wgValidSkinNames['brlcad'] = 'BrlCad';
$wgAutoloadClasses['SkinBrlCad'] = dirname(__File__).'/BrlCad.skin.php';
$wgExtensionMessagesFiles[' BrlCad'] = dirname(__FILE__).'/BrlCad.i18n.php';
$wgResourceModules['skins.brlcad'] = array(
'styles' => array(
'brlcad/stylesheets/global.css' => array( 'media' => 'screen' ),
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);