SkinFallback.php 577 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Skin file for the fallback skin.
  4. *
  5. * @since 1.24
  6. * @file
  7. */
  8. /**
  9. * SkinTemplate class for the fallback skin
  10. */
  11. class SkinFallback extends SkinTemplate {
  12. public $skinname = 'fallback';
  13. public $template = SkinFallbackTemplate::class;
  14. public function getDefaultModules() {
  15. $modules = parent::getDefaultModules();
  16. $modules['styles']['skin'][] = 'mediawiki.skinning.interface';
  17. return $modules;
  18. }
  19. /**
  20. * @param OutputPage $out
  21. */
  22. public function initPage( OutputPage $out ) {
  23. parent::initPage( $out );
  24. $out->enableClientCache( false );
  25. }
  26. }