From 3cbcb3e2a1abd08824017f08a26f753047aadd1c Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Mon, 22 Apr 2013 13:32:31 +0200 Subject: [PATCH] Monobook: Remove OperaNFixes.css files We were providing fixes for Opera 6, 7 and 9, even though it's 2013, Opera is at version 12, and even as a grade B browser we're only supporting Opera 10. Given the amount of various changes to the codebase over the years, I'd be surprised if any of those were still doing anything for the compatibility. Change-Id: I9925cc98d11c4e2eecedd305a724f0763a62a782 --- RELEASE-NOTES-1.22 | 1 + skins/common/wikibits.js | 12 ------------ skins/monobook/Opera6Fixes.css | 20 -------------------- skins/monobook/Opera7Fixes.css | 21 --------------------- skins/monobook/Opera9Fixes.css | 11 ----------- 5 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 skins/monobook/Opera6Fixes.css delete mode 100644 skins/monobook/Opera7Fixes.css delete mode 100644 skins/monobook/Opera9Fixes.css diff --git a/RELEASE-NOTES-1.22 b/RELEASE-NOTES-1.22 index 850b43d158..23867d1318 100644 --- a/RELEASE-NOTES-1.22 +++ b/RELEASE-NOTES-1.22 @@ -129,6 +129,7 @@ changes to languages because of Bugzilla reports. * A new Special:Redirect page was added, providing lookup by revision ID, user ID, or file name. The old Special:Filepath page was reimplemented to redirect through Special:Redirect. +* Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9. == Compatibility == diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 709cc33406..65042ef495 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -113,18 +113,6 @@ window.appendCSS = function( text ) { return s; }; -// Special stylesheet links for Monobook only (see bug 14717) -var skinpath = mw.config.get( 'stylepath' ) + '/' + mw.config.get( 'skin' ); -if ( mw.config.get( 'skin' ) === 'monobook' ) { - if ( opera6_bugs ) { - importStylesheetURI( skinpath + '/Opera6Fixes.css' ); - } else if ( opera7_bugs ) { - importStylesheetURI( skinpath + '/Opera7Fixes.css' ); - } else if ( opera95_bugs ) { - importStylesheetURI( skinpath + '/Opera9Fixes.css' ); - } -} - if ( mw.config.get( 'wgBreakFrames' ) ) { // Un-trap us from framesets if ( window.top != window ) { diff --git a/skins/monobook/Opera6Fixes.css b/skins/monobook/Opera6Fixes.css deleted file mode 100644 index 77dec0955e..0000000000 --- a/skins/monobook/Opera6Fixes.css +++ /dev/null @@ -1,20 +0,0 @@ -/* opera 6 fixes */ -div#column-one { - position: relative; - max-width: 11.7em; -} -#p-personal { - width: 45em; - margin-left: 8.6em; - right: 0; -} -#bodyContent a.external { - background: url(external.png) center right no-repeat; - padding-right: 13px; -} - -.rtl a.feedlink { - background-position: right; - padding-right: 0; - padding-left: 16px; -} diff --git a/skins/monobook/Opera7Fixes.css b/skins/monobook/Opera7Fixes.css deleted file mode 100644 index 1dcba7c9e5..0000000000 --- a/skins/monobook/Opera7Fixes.css +++ /dev/null @@ -1,21 +0,0 @@ -/* small tweaks for opera seven */ -#p-cactions { - margin-top: .1em; -} -#p-cactions li a { - top: 2px; -} -#bodyContent a.external { - background: url(external.png) center right no-repeat; - padding-right: 13px; -} -.rtl #bodyContent a.external { - background-image: url(external-rtl.png); - padding-right: 13px; -} - -.rtl a.feedlink { - background-position: right; - padding-right: 0; - padding-left: 16px; -} diff --git a/skins/monobook/Opera9Fixes.css b/skins/monobook/Opera9Fixes.css deleted file mode 100644 index 9c312a845a..0000000000 --- a/skins/monobook/Opera9Fixes.css +++ /dev/null @@ -1,11 +0,0 @@ -.rtl #bodyContent a.external { - background-image: url(external-rtl.png); - padding-right: 13px; - padding-left: 0; -} - -.rtl a.feedlink { - background-position: right; - padding-right: 0; - padding-left: 16px; -} -- 2.20.1