foreground.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * WikiWonders Foreground Skin
  4. *
  5. * @file
  6. * @ingroup Skins
  7. * @author WikiWonders <skins@wikiwonders.net>
  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://wikiwonders.net/wiki/Foreground',
  18. 'author' => 'WikiWonders',
  19. 'descriptionmsg' => 'A MediaWiki skin that focuses on putting your content in the foreground.',
  20. );
  21. $wgValidSkinNames['foreground'] = 'foreground';
  22. $wgAutoloadClasses['Skinforeground'] = __DIR__.'/foreground.skin.php';
  23. $wgExtensionMessagesFiles['foreground'] = __DIR__.'/foreground.i18n.php';
  24. $wgResourceModules['skins.foreground'] = array(
  25. 'styles' => array(
  26. 'Foreground/assets/stylesheets/normalize.css',
  27. 'Foreground/assets/stylesheets/foundation.css',
  28. 'Foreground/assets/stylesheets/foreground.css',
  29. 'Foreground/assets/stylesheets/foreground-print.css',
  30. 'Foreground/assets/stylesheets/jquery.autocomplete.css',
  31. 'Foreground/assets/stylesheets/responsive-tables.css'
  32. ),
  33. 'scripts' => array(
  34. 'Foreground/assets/scripts/vendor/custom.modernizr.js',
  35. 'Foreground/assets/scripts/foundation/foundation.js',
  36. 'Foreground/assets/scripts/foundation/foundation.topbar.js',
  37. 'Foreground/assets/scripts/foundation/foundation.section.js',
  38. 'Foreground/assets/scripts/foundation/foundation.clearing.js',
  39. 'Foreground/assets/scripts/foundation/foundation.cookie.js',
  40. 'Foreground/assets/scripts/foundation/foundation.placeholder.js',
  41. 'Foreground/assets/scripts/foundation/foundation.forms.js',
  42. 'Foreground/assets/scripts/foundation/foundation.alerts.js',
  43. 'Foreground/assets/scripts/foreground.js'
  44. ),
  45. 'remoteBasePath' => &$GLOBALS['wgStylePath'],
  46. 'localBasePath' => &$GLOBALS['wgStyleDirectory']
  47. );