jenkins-bot has submitted this change and it was merged.
Change subject: Remove kindle stylesheet
......................................................................
Remove kindle stylesheet
Also drop unused psp and wii css files
Change-Id: I9dc1985c727039813f267f054a6809136839eceb
---
M includes/DeviceDetection.php
D stylesheets/devices/kindle.css
D stylesheets/devices/psp.css
D stylesheets/devices/wii.css
M tests/DeviceDetectionTest.php
5 files changed, 1 insertion(+), 124 deletions(-)
Approvals:
JGonera: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/DeviceDetection.php b/includes/DeviceDetection.php
index e1ba7c8..7a2d07b 100644
--- a/includes/DeviceDetection.php
+++ b/includes/DeviceDetection.php
@@ -221,7 +221,6 @@
),
'kindle' => array (
'view_format' => 'html',
- 'css_file_name' => 'kindle',
),
'netfront' => array (
'view_format' => 'html',
diff --git a/stylesheets/devices/kindle.css b/stylesheets/devices/kindle.css
deleted file mode 100644
index 9fc9840..0000000
--- a/stylesheets/devices/kindle.css
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
- line-height: 120%;
-}
diff --git a/stylesheets/devices/psp.css b/stylesheets/devices/psp.css
deleted file mode 100644
index f1218f7..0000000
--- a/stylesheets/devices/psp.css
+++ /dev/null
@@ -1,66 +0,0 @@
-.header,
-#footer,
-#content_wrapper {
- margin: 0 2px;
-}
-
-/* TODO: review duplicate definition in operamini, psp, simple
-Are they even necessary? could/should they be in common.css ?
-*/
-.nav {
- border: 0;
- border-bottom: 2px solid #6d84b4;
- border-top: 2px solid #6d84b4;
- height: auto;
- clear: both;
- padding: 5px 0 5px 0;
- margin: 0;
-}
-
-.mwm-notice {
- text-align: left;
-}
-
-.mwm-message.mwm-notice {
- display: none;
-}
-
-a.arrow {
- float: right;
- margin-right: 5px;
-}
-
-.thumb {
- margin: 0.5em 0;
-}
-
-.thumb.tright {
- float: right;
- clear: right;
- margin-left: 0.5em;
-}
-
-.thumb .thumbcaption {
- text-align: left;
- margin: 0;
- font-size: 90%;
- padding-top: 0.5em;
-}
-
-.thumb.tleft {
- float: left;
- clear: left;
- margin-right: 0.5em;
-}
-
-.thumb .thumbinner,
-.thumb .thumbinner[style] {
- padding: 5px;
- margin: 0;
-}
-
-span.idx {
- display: none;
-}
-
-
diff --git a/stylesheets/devices/wii.css b/stylesheets/devices/wii.css
deleted file mode 100644
index 8897210..0000000
--- a/stylesheets/devices/wii.css
+++ /dev/null
@@ -1,53 +0,0 @@
-.thumb {
- margin: 0.5em 0;
-}
-
-.thumb.tright {
- float: right;
- clear: right;
- margin-left: 0.5em;
-}
-
-.thumb .thumbcaption {
- text-align: left;
- margin: 0;
- font-size: 90%;
- padding-top: 0.5em;
-}
-
-.thumb.tleft {
- float: left;
- clear: left;
- margin-right: 0.5em;
-}
-
-.thumb .thumbinner,
-.thumb .thumbinner[style] {
- padding: 5px;
- margin: 0;
-}
-
-#content_wrapper {
- background: white;
- clear: both;
- padding: 8px;
-}
-
-#footer {
- background: white;
- padding: 0 8px;
-}
-
-#footer {
- padding-top: 1em;
-}
-
-#footer #perm {
- padding-top: 1em;
- font-size: 80%;
-}
-
-#footer #copyright {
- padding: 1em 0;
- font-size: 80%;
-}
diff --git a/tests/DeviceDetectionTest.php b/tests/DeviceDetectionTest.php
index 6b40f8e..d33965a 100644
--- a/tests/DeviceDetectionTest.php
+++ b/tests/DeviceDetectionTest.php
@@ -87,7 +87,7 @@
array( 'generic', '' ),
array( 'ie', '' ),
array( 'iphone', 'mobile.device.iphone' ),
- array( 'kindle', 'mobile.device.kindle' ),
+ array( 'kindle', '' ),
array( 'blackberry', '' ),
array( 'nokia', '' ),
array( 'wml', '' )
--
To view, visit https://gerrit.wikimedia.org/r/72137
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9dc1985c727039813f267f054a6809136839eceb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits