foreground.php 2.1 KB

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