foreground.php 618 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Foreground Skin
  4. *
  5. * @file
  6. * @ingroup Skins
  7. * @author Garrick Van Buren, Jamie Thingelstad, Tom Hutchison
  8. * @license BSD-2-Clause
  9. */
  10. if ( function_exists( 'wfLoadSkin' ) ) {
  11. wfLoadSkin( 'foreground' );
  12. // Keep i18n globals so mergeMessageFileList.php doesn't break
  13. $wgMessagesDirs['foreground'] = __DIR__ . '/i18n';
  14. wfWarn(
  15. 'Deprecated PHP entry point used for the Foregrond skin. Please use wfLoadSkin instead, ' .
  16. 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
  17. );
  18. return;
  19. } else {
  20. die( 'This version of the Foreground skin requires MediaWiki 1.25+' );
  21. }