foreground.php 2.2 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. {
  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. 'version' => 1.1,
  19. 'author' => array(
  20. 'Garrick Van Buren',
  21. 'Jamie Thingelstad',
  22. 'Tom Hutchison',
  23. '...'
  24. ),
  25. 'descriptionmsg' => 'foreground-desc'
  26. );
  27. $wgValidSkinNames['foreground'] = 'Foreground';
  28. $wgAutoloadClasses['SkinForeground'] = __DIR__.'/Foreground.skin.php';
  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. );