[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Enable new print styles on Vector in test wiki

2017-10-09 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383180 )

Change subject: Enable new print styles on Vector in test wiki
..


Enable new print styles on Vector in test wiki

This time with added protection!
We'll deploy to production later on to allow us
to debug several issues with the logo.

Bug: T169732
Change-Id: Idb765f28f74ac660c9eccc27e6b61ad9ac5d5248
---
M wmf-config/InitialiseSettings.php
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 46b4de6..6eedbe8 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7176,6 +7176,12 @@
'nostalgiawiki' => 'nostalgia',
 ],
 
+// T169732
+'wgVectorExperimentalPrintStyles' => [
+   'default' => false,
+   'testwiki' => true,
+],
+
 'wgVectorResponsive' => [
'default' => false,
'testwiki' => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idb765f28f74ac660c9eccc27e6b61ad9ac5d5248
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Urbanecm 
Gerrit-Reviewer: Zoranzoki21 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Enable new print styles on Vector

2017-10-09 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383180 )

Change subject: Enable new print styles on Vector
..

Enable new print styles on Vector

This time with added protection!

Bug: T169732
Change-Id: Idb765f28f74ac660c9eccc27e6b61ad9ac5d5248
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 19 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/80/383180/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index c932ae9..881bb64 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -650,6 +650,20 @@
wfLoadSkin( 'Timeless' ); // T154371
 }
 
+// The Print logo for Vector should use the same wordmark as Minerva
+// This avoids duplicate config entries (T169732)
+if (
+   isset( $wgMinervaCustomLogos['copyright'] ) &&
+   isset( $wgMinervaCustomLogos['copyright-height'] ) &&
+   isset( $wgMinervaCustomLogos['copyright-width'] )
+) {
+   $wgVectorPrintLogo = [
+   'width' => $wgMinervaCustomLogos['copyright-width'],
+   'height' => $wgMinervaCustomLogos['copyright-height'],
+   'url' =>  $wgMinervaCustomLogos['copyright'],
+   ];
+}
+
 // Grants and rights
 // Note these have to be visible on all wikis, not just the ones the
 // extension is enabled on, for proper display in OAuth pages and such.
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 46b4de6..f7a217a 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7176,6 +7176,11 @@
'nostalgiawiki' => 'nostalgia',
 ],
 
+// T169732
+'wgVectorExperimentalPrintStyles' => [
+   'default' => true,
+],
+
 'wgVectorResponsive' => [
'default' => false,
'testwiki' => true,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb765f28f74ac660c9eccc27e6b61ad9ac5d5248
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Enable new print styles on Vector

2017-10-09 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383170 )

Change subject: Enable new print styles on Vector
..


Enable new print styles on Vector

Bug: T169732
Change-Id: I085f711f78a93b9d7dc327a09a3b65fd8a991c16
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index c932ae9..0dc18ce 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -650,6 +650,14 @@
wfLoadSkin( 'Timeless' ); // T154371
 }
 
+// The Print logo for Vector should use the same wordmark as Minerva
+// This avoids duplicate config entries (T169732)
+$wgVectorPrintLogo = [
+   'width' => $wgMinervaCustomLogos['copyright-width'],
+   'height' => $wgMinervaCustomLogos['copyright-height'],
+   'url' =>  $wgMinervaCustomLogos['copyright'],
+];
+
 // Grants and rights
 // Note these have to be visible on all wikis, not just the ones the
 // extension is enabled on, for proper display in OAuth pages and such.
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 46b4de6..f7a217a 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7176,6 +7176,11 @@
'nostalgiawiki' => 'nostalgia',
 ],
 
+// T169732
+'wgVectorExperimentalPrintStyles' => [
+   'default' => true,
+],
+
 'wgVectorResponsive' => [
'default' => false,
'testwiki' => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I085f711f78a93b9d7dc327a09a3b65fd8a991c16
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Urbanecm 
Gerrit-Reviewer: Zoranzoki21 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Enable new print styles on Vector

2017-10-09 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383170 )

Change subject: Enable new print styles on Vector
..

Enable new print styles on Vector

Bug: T169732
Change-Id: I085f711f78a93b9d7dc327a09a3b65fd8a991c16
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/70/383170/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index c932ae9..0dc18ce 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -650,6 +650,14 @@
wfLoadSkin( 'Timeless' ); // T154371
 }
 
+// The Print logo for Vector should use the same wordmark as Minerva
+// This avoids duplicate config entries (T169732)
+$wgVectorPrintLogo = [
+   'width' => $wgMinervaCustomLogos['copyright-width'],
+   'height' => $wgMinervaCustomLogos['copyright-height'],
+   'url' =>  $wgMinervaCustomLogos['copyright'],
+];
+
 // Grants and rights
 // Note these have to be visible on all wikis, not just the ones the
 // extension is enabled on, for proper display in OAuth pages and such.
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 3638a1d..f742993 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -7176,6 +7176,11 @@
'nostalgiawiki' => 'nostalgia',
 ],
 
+// T169732
+'wgVectorExperimentalPrintStyles' => [
+   'default' => true,
+],
+
 'wgVectorResponsive' => [
'default' => false,
'testwiki' => true,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I085f711f78a93b9d7dc327a09a3b65fd8a991c16
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits