foreground.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * Foreground Skin
  4. *
  5. * @file
  6. * @ingroup Skins
  7. * @author Garrick Van Buren, Jamie Thingelstad, Tom Hutchison
  8. * @license 2-clause BSD
  9. */
  10. if( !defined( 'MEDIAWIKI' ) ) {
  11. die( 'This is a skin to the MediaWiki package and cannot be run standalone.' );
  12. }
  13. $wgExtensionCredits['skin'][] = array(
  14. 'path' => __FILE__,
  15. 'name' => 'Foreground',
  16. 'url' => 'http://foreground.thingelstad.com/',
  17. 'version' => 1.1,
  18. 'author' => array(
  19. 'Garrick Van Buren',
  20. 'Jamie Thingelstad',
  21. 'Tom Hutchison',
  22. '...'
  23. ),
  24. 'license-name' => 'BSD-2-Clause',
  25. 'descriptionmsg' => 'foreground-desc'
  26. );
  27. $wgValidSkinNames['foreground'] = 'Foreground';
  28. $wgAutoloadClasses['SkinForeground'] = __DIR__ . '/Foreground.skin.php';
  29. $wgMessagesDirs['SkinForeground'] = __DIR__ . '/i18n';
  30. $wgExtensionMessagesFiles['SkinForeground'] = __DIR__ . '/Foreground.i18n.php';
  31. $wgResourceModules['skins.foreground'] = array(
  32. 'styles' => array(
  33. 'foreground/assets/stylesheets/normalize.css',
  34. 'foreground/assets/stylesheets/font-awesome.css',
  35. 'foreground/assets/stylesheets/foundation.css',
  36. 'foreground/assets/stylesheets/foreground.css',
  37. 'foreground/assets/stylesheets/foreground-print.css',
  38. 'foreground/assets/stylesheets/jquery.autocomplete.css',
  39. 'foreground/assets/stylesheets/responsive-tables.css'
  40. ),
  41. 'scripts' => array(
  42. 'foreground/assets/scripts/vendor/custom.modernizr.js',
  43. 'foreground/assets/scripts/vendor/fastclick.js',
  44. 'foreground/assets/scripts/vendor/responsive-tables.js',
  45. 'foreground/assets/scripts/foundation/foundation.js',
  46. 'foreground/assets/scripts/foundation/foundation.topbar.js',
  47. 'foreground/assets/scripts/foundation/foundation.dropdown.js',
  48. 'foreground/assets/scripts/foundation/foundation.section.js',
  49. 'foreground/assets/scripts/foundation/foundation.clearing.js',
  50. 'foreground/assets/scripts/foundation/foundation.cookie.js',
  51. 'foreground/assets/scripts/foundation/foundation.placeholder.js',
  52. 'foreground/assets/scripts/foundation/foundation.forms.js',
  53. 'foreground/assets/scripts/foundation/foundation.alerts.js',
  54. 'foreground/assets/scripts/foreground.js'
  55. ),
  56. 'remoteBasePath' => &$GLOBALS['wgStylePath'],
  57. 'localBasePath' => &$GLOBALS['wgStyleDirectory']
  58. );