foreground.php 2.1 KB

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