Brian Wolff has uploaded a new change for review.
https://gerrit.wikimedia.org/r/74514
Change subject: Proposed settings for VIPS.
......................................................................
Proposed settings for VIPS.
These are the settings I would like to propose be used
for VIPS initially. (I should note that I'm not super familar
with the extension, and am more speaking from a user
prespective here).
In english: Only enable on big pngs initially (since that
is where the problem is).
Bug: 51370
Change-Id: I054a83b58eee6f79124e4a8ce00658fc774f5b12
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 10 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/14/74514/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 543bca8..9d1538f 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2178,6 +2178,15 @@
include( "$IP/extensions/VipsScaler/VipsScaler.php" );
include( "$IP/extensions/VipsScaler/VipsTest.php" );
$wgVipsThumbnailerHost = '10.2.1.21';
+ $wgVipsOptions = array(
+ array(
+ 'conditions' => array(
+ 'mimeType' => 'image/png',
+ 'minArea' => 3.5e7,
+ ),
+ ),
+ );
+
}
if ( $wmgUseApiSandbox ) {
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 2c9fa05..522e8b7 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -11770,10 +11770,7 @@
),
'wmgUseVips' => array(
- 'default' => false,
- 'mediawikiwiki' => true,
- 'test2wiki' => true,
- 'testwiki' => true,
+ 'default' => true,
),
'wmgUseApiSandbox' => array(
--
To view, visit https://gerrit.wikimedia.org/r/74514
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I054a83b58eee6f79124e4a8ce00658fc774f5b12
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits