diff --git a/includes/OutputPage.php b/includes/OutputPage.php index a7165c46264..907b81f6d1c 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1870,14 +1870,8 @@ class OutputPage { */ public function addStyle( $style, $media='', $condition='', $dir='' ) { $options = array(); - // In Opera, fullscreen mode is treated as projection mode, and it causes - // styles set for screen to not be loaded - thus breaking the page - so - // we can just append projection to the media attribute when it's screen - // so the browser is happy and - with no side-effects on other browsers. - // Also - even though we expect the media type to be lowercase, but here - // we force it to lowercase to be safe. - if ( strtolower( $media ) == 'screen' ) - $media .= ',projection'; + // Even though we expect the media type to be lowercase, but here we + // force it to lowercase to be safe. if( $media ) $options['media'] = $media; if( $condition ) diff --git a/includes/templates/NoLocalSettings.php b/includes/templates/NoLocalSettings.php index 42682d605d4..2acc132930c 100644 --- a/includes/templates/NoLocalSettings.php +++ b/includes/templates/NoLocalSettings.php @@ -39,7 +39,7 @@ foreach( $topdirs as $dir ){ MediaWiki <?php echo htmlspecialchars( $wgVersion ) ?> -