foreground.php 2.1 KB

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