foreground.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. 'descriptionmsg' => 'foreground-desc'
  25. );
  26. $wgValidSkinNames['foreground'] = 'Foreground';
  27. $wgAutoloadClasses['SkinForeground'] = __DIR__ . '/Foreground.skin.php';
  28. $wgMessagesDirs['SkinForeground'] = __DIR__ . '/i18n';
  29. $wgExtensionMessagesFiles['SkinForeground'] = __DIR__ . '/Foreground.i18n.php';
  30. $wgResourceModules['skins.foreground'] = array(
  31. 'styles' => array(
  32. 'foreground/assets/stylesheets/normalize.css',
  33. 'foreground/assets/stylesheets/font-awesome.css',
  34. 'foreground/assets/stylesheets/foundation.css',
  35. 'foreground/assets/stylesheets/foreground.css',
  36. 'foreground/assets/stylesheets/foreground-print.css',
  37. 'foreground/assets/stylesheets/jquery.autocomplete.css',
  38. 'foreground/assets/stylesheets/responsive-tables.css'
  39. ),
  40. 'scripts' => array(
  41. 'foreground/assets/scripts/vendor/custom.modernizr.js',
  42. 'foreground/assets/scripts/vendor/fastclick.js',
  43. 'foreground/assets/scripts/vendor/responsive-tables.js',
  44. 'foreground/assets/scripts/foundation/foundation.js',
  45. 'foreground/assets/scripts/foundation/foundation.topbar.js',
  46. 'foreground/assets/scripts/foundation/foundation.dropdown.js',
  47. 'foreground/assets/scripts/foundation/foundation.section.js',
  48. 'foreground/assets/scripts/foundation/foundation.clearing.js',
  49. 'foreground/assets/scripts/foundation/foundation.cookie.js',
  50. 'foreground/assets/scripts/foundation/foundation.placeholder.js',
  51. 'foreground/assets/scripts/foundation/foundation.forms.js',
  52. 'foreground/assets/scripts/foundation/foundation.alerts.js',
  53. 'foreground/assets/scripts/foreground.js'
  54. ),
  55. 'remoteBasePath' => &$GLOBALS['wgStylePath'],
  56. 'localBasePath' => &$GLOBALS['wgStyleDirectory']
  57. );