foreground.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * foreground.com foundation wiki 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 Youre Doing');
  13. }
  14. $wgExtensionCredits['skin'][] = array(
  15. 'path' => __FILE__,
  16. 'name' => 'Foreground',
  17. 'url' => 'http://wikiwonders.net/wiki/Foreground',
  18. 'author' => 'Garrick van Buren',
  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' => array('media' => 'screen'),
  27. 'foreground/assets/stylesheets/foundation.css' => array('media' => 'screen'),
  28. 'foreground/assets/stylesheets/foreground.css' => array('media' => 'screen'),
  29. 'foreground/assets/stylesheets/foreground-print.css' => array('media' => 'print'),
  30. 'foreground/assets/stylesheets/jquery.autocomplete.css' => array('media' => 'screen'),
  31. 'foreground/assets/stylesheets/responsive-tables.css' => array('media' => 'screen')
  32. ),
  33. 'scripts' => array(
  34. 'foreground/assets/scripts/foundation/jquery.tooltips.js' => array('type' => 'javascript'),
  35. 'foreground/assets/scripts/foundation/modernizer.foundation.js' => array('type' => 'javascript'),
  36. 'foreground/assets/scripts/foundation/jquery.placeholder.min.js' => array('type' => 'javascript'),
  37. 'foreground/assets/scripts/foreground.js' => array('type' => 'javascript')
  38. ),
  39. 'remoteBasePath' => &$GLOBALS['wgStylePath'],
  40. 'localBasePath' => &$GLOBALS['wgStyleDirectory']
  41. );