Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/179619

Change subject: Update Metrolook
......................................................................

Update Metrolook

Includes some changes and also localisation updates.

Change-Id: Ice119f918102ddbce0039bc2fa2eb99d2aa83ed6
---
M Metrolook.php
M README.md
M components/navigation.less
A i18n/gl.json
A i18n/ka.json
A i18n/zh-hant.json
6 files changed, 74 insertions(+), 26 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Metrolook 
refs/changes/19/179619/1

diff --git a/Metrolook.php b/Metrolook.php
index 7395910..a46602a 100644
--- a/Metrolook.php
+++ b/Metrolook.php
@@ -25,7 +25,7 @@
        'path' => __FILE__,
        'name' => 'Metrolook',
        'descriptionmsg' => 'metrolook-desc',
-       'version' => '2.4.11',
+       'version' => '2.4.12',
        'url' => 'https://www.mediawiki.org/wiki/Skin:Metrolook',
        'author' => array( 'immewnity', 'paladox2015', 'Craig Davison', 
'lagleki' ),
        'license-name' => 'GPLv2+',
diff --git a/README.md b/README.md
index 1fa3cec..92c351a 100644
--- a/README.md
+++ b/README.md
@@ -187,24 +187,34 @@
 /* Top Bar colour and hover colour start */
 
 #mw-page-base {
-        height: 2.5em;
-        background-color: dodgerBlue;
-        background-position: bottom left;
-        background-repeat: repeat-x;
-        /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-        background-image: url('images/page-fade.png');
-        min-width: auto;
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width: auto;
 }
-
-@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) {
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : portrait) {
 #mw-page-base {
-        height: 2.5em;
-        background-color: dodgerBlue;
-        background-position: bottom left;
-        background-repeat: repeat-x;
-        /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-        background-image: url('images/page-fade.png');
-        min-width:65em;
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width:65em;
+}
+}
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : landscape) {
+#mw-page-base {
+    height: 2.5em;
+    background-color: dodgerBlue;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    min-width:65em;
 }
 }
 
diff --git a/components/navigation.less b/components/navigation.less
index 65a2fd0..2ec6916 100644
--- a/components/navigation.less
+++ b/components/navigation.less
@@ -21,16 +21,28 @@
     .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
     min-width: auto;
 }
-@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) {
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : portrait) {
 #mw-page-base {
-       height: 2.5em;
-       background-color: #CF8B54;
-       background-position: bottom left;
-       background-repeat: repeat-x;
-       /* This image is only a fallback (for IE 6-9), so we do not @embed it. 
*/
-       background-image: url('images/page-fade.png');
-       .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
-       min-width:65em;
+    height: 2.5em;
+    background-color: #CF8B54;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
+    min-width:65em;
+}
+}
+@media only screen and (min-device-width : 768px) and (max-device-width : 
1024px) and (orientation : landscape) {
+#mw-page-base {
+    height: 2.5em;
+    background-color: #CF8B54;
+    background-position: bottom left;
+    background-repeat: repeat-x;
+    /* This image is only a fallback (for IE 6-9), so we do not @embed it. */
+    background-image: url('images/page-fade.png');
+    .vertical-gradient(#CF8B54, #CF8B54, 50%, 100%);
+    min-width:65em;
 }
 }
 #mw-head-base {
diff --git a/i18n/gl.json b/i18n/gl.json
new file mode 100644
index 0000000..84268b8
--- /dev/null
+++ b/i18n/gl.json
@@ -0,0 +1,9 @@
+{
+       "@metadata": {
+               "authors": [
+                       "Elisardojm"
+               ]
+       },
+       "metrolook-desc": "Aparencia Metrolook para MediaWiki",
+       "metrolook-guest": "Invitado"
+}
diff --git a/i18n/ka.json b/i18n/ka.json
new file mode 100644
index 0000000..b9d6e51
--- /dev/null
+++ b/i18n/ka.json
@@ -0,0 +1,8 @@
+{
+       "@metadata": {
+               "authors": [
+                       "MIKHEIL"
+               ]
+       },
+       "metrolook-guest": "სტუმარი"
+}
diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json
new file mode 100644
index 0000000..204989c
--- /dev/null
+++ b/i18n/zh-hant.json
@@ -0,0 +1,9 @@
+{
+       "@metadata": {
+               "authors": [
+                       "Cwlin0416"
+               ]
+       },
+       "metrolook-desc": "MediaWiki 的 Metrolook 外觀",
+       "metrolook-guest": "訪客"
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/179619
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice119f918102ddbce0039bc2fa2eb99d2aa83ed6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Metrolook
Gerrit-Branch: REL1_24
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to