41 parent::setupSkinUserCss( $out );
43 if ( $out->getUser()->getOption(
'monobook-responsive' ) ) {
44 $out->addMeta(
'viewport',
45 'width=device-width, initial-scale=1.0, ' .
46 'user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0'
48 $styleModule =
'skins.monobook.responsive';
50 'skins.monobook.mobile'
54 $out->addModules( [
'skins.monobook.mobile.echohack' ] );
57 $out->addModules( [
'skins.monobook.mobile.uls' ] );
60 $styleModule =
'skins.monobook.styles';
63 $out->addModuleStyles( [
64 'mediawiki.skinning.interface',
65 'mediawiki.skinning.content.externallinks',
71 $out->addStyle( $this->stylename .
'/resources/screen-desktop.css',
'screen',
'lt IE 9' );
73 $out->addStyle( $this->stylename .
'/resources/IE60Fixes.css',
'screen',
'IE 6' );
74 $out->addStyle( $this->stylename .
'/resources/IE70Fixes.css',
'screen',
'IE 7' );
82 if ( $user->
getOption(
'skin' ) ===
'monobook' ) {
83 $preferences[
'monobook-responsive'] = [
85 'label-message' =>
'monobook-responsive-label',
86 'section' =>
'rendering/skin',
100 'localBasePath' => __DIR__ .
'/..',
101 'remoteSkinPath' =>
'MonoBook',
103 'targets' => [
'desktop',
'mobile' ],
104 'scripts' => [
'resources/mobile-echo.js' ],
105 'styles' => [
'resources/mobile-echo.less' => [
106 'media' =>
'screen and (max-width: 550px)'
108 'dependencies' => [
'oojs-ui.styles.icons-alerts',
'mediawiki.util' ],
109 'messages' => [
'monobook-notifications-link',
'monobook-notifications-link-none' ]
115 'localBasePath' => __DIR__ .
'/..',
116 'remoteSkinPath' =>
'MonoBook',
118 'targets' => [
'desktop' ],
119 'scripts' => [
'resources/mobile-uls.js' ],
120 'dependencies' => [
'ext.uls.interface' ],