foreground.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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/jquery.autocomplete.css' => array('media' => 'screen'),
  30. 'foreground/assets/stylesheets/responsive-tables.css' => array('media' => 'screen')
  31. ),
  32. 'remoteBasePath' => &$GLOBALS['wgStylePath'],
  33. 'localBasePath' => &$GLOBALS['wgStyleDirectory']
  34. );