2015-10-01 16:00:26 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Pivot Skin
|
|
|
|
*
|
2015-11-04 15:53:51 +01:00
|
|
|
* @file Since Version 1.0
|
2015-10-01 16:00:26 +02:00
|
|
|
* @ingroup Skins
|
2015-11-04 03:53:27 +01:00
|
|
|
* @author Garrick Van Buren, Jamie Thingelstad
|
2015-11-04 15:53:51 +01:00
|
|
|
* @author Tom Hutchison
|
2015-10-01 16:00:26 +02:00
|
|
|
* @license 2-clause BSD
|
|
|
|
*/
|
|
|
|
|
2015-11-04 03:58:04 +01:00
|
|
|
if ( ! defined('MEDIAWIKI'))
|
2015-10-01 16:00:26 +02:00
|
|
|
{
|
2015-11-04 15:53:51 +01:00
|
|
|
die("Not Directly Called So What Are You Doing");
|
2015-10-01 16:00:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$wgExtensionCredits['skin'][] = array(
|
|
|
|
'path' => __FILE__,
|
2015-11-04 20:24:05 +01:00
|
|
|
'name' => 'skinname-pivot',
|
2015-10-01 16:00:26 +02:00
|
|
|
'url' => 'http://github.com/hutchy68/pivot/',
|
|
|
|
'author' => array(
|
|
|
|
'Tom Hutchison',
|
|
|
|
'...'
|
|
|
|
),
|
2015-11-04 03:22:00 +01:00
|
|
|
'version' => '1.0.0 rc',
|
2015-10-01 16:00:26 +02:00
|
|
|
'descriptionmsg' => 'pivot-desc'
|
|
|
|
);
|
|
|
|
|
|
|
|
$wgValidSkinNames['pivot'] = 'Pivot';
|
|
|
|
|
|
|
|
$wgAutoloadClasses['SkinPivot'] = __DIR__.'/Pivot.skin.php';
|
|
|
|
|
2015-11-04 16:30:39 +01:00
|
|
|
$wgMessagesDirs['SkinPivot'] = __DIR__ . '/i18n';
|
|
|
|
|
2015-10-01 16:00:26 +02:00
|
|
|
$wgResourceModules['skins.pivot'] = array(
|
|
|
|
'styles' => array(
|
2015-11-04 15:53:51 +01:00
|
|
|
'pivot/assets/stylesheets/normalize.css',
|
|
|
|
'pivot/assets/stylesheets/font-awesome.css',
|
|
|
|
'pivot/assets/stylesheets/foundation.css',
|
|
|
|
'pivot/assets/stylesheets/pivot.css',
|
|
|
|
'pivot/assets/stylesheets/pivot-print.css',
|
|
|
|
'pivot/assets/stylesheets/jquery.autocomplete.css'
|
2015-10-01 16:00:26 +02:00
|
|
|
),
|
|
|
|
'scripts' => array(
|
|
|
|
'pivot/assets/scripts/vendor/jquery.cookie.js',
|
|
|
|
'pivot/assets/scripts/vendor/modernizr.js',
|
|
|
|
'pivot/assets/scripts/vendor/fastclick.js',
|
|
|
|
'pivot/assets/scripts/vendor/placeholder.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.topbar.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.tooltip.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.tab.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.slider.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.reveal.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.orbit.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.offcanvas.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.magellan.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.joyride.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.interchange.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.equalizer.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.dropdown.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.clearing.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.alert.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.accordion.js',
|
|
|
|
'pivot/assets/scripts/foundation/foundation.abide.js',
|
|
|
|
'pivot/assets/scripts/pivot.js',
|
|
|
|
),
|
|
|
|
'remoteBasePath' => &$GLOBALS['wgStylePath'],
|
|
|
|
'localBasePath' => &$GLOBALS['wgStyleDirectory']
|
|
|
|
);
|