Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/276734
Change subject: Mathoid: enable PNG generation
......................................................................
Mathoid: enable PNG generation
Mathoid's PNG rendering mode has been switched from the Java-based batik
implementation to a one using node.js bindings for librvg2. The
rendering is more secure (no more shelling out to Java) and much faster
(cf. I3fac0f61b547893baa0618746ed491d5a704dd2c for performance numbers),
so it's time we enable PNG support in production.
Bug: T71702
Change-Id: I2facd0ea314a8d3fb8660d135474e9addf864615
---
M modules/mathoid/manifests/init.pp
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/34/276734/1
diff --git a/modules/mathoid/manifests/init.pp
b/modules/mathoid/manifests/init.pp
index a54caa5..be75698 100644
--- a/modules/mathoid/manifests/init.pp
+++ b/modules/mathoid/manifests/init.pp
@@ -7,14 +7,14 @@
# === Parameters
#
# [*svg_generation*]
-# Enable SVG generation
+# Enable SVG generation. Default: true
# [*img_generation*]
-# Enable IMG generation.
+# Enable IMG generation. Default: true
# [*png_generation*]
-# Enable PNG generation. This is done via shelling out to Java and temporary
-# files, so it might be insecure.
+# Enable PNG generation, accomplished via a librsvg2 node binding. Default:
+# true
# [*speakText_generation*]
-# Enable speakText generation.
+# Enable speakText generation. Default: false
# [*textvcinfo_generation*]
# Enable texvcinfo generation. Default: true
# [*render_no_check*]
@@ -23,7 +23,7 @@
class mathoid(
$svg_generation=true,
$img_generation=true,
- $png_generation=false,
+ $png_generation=true,
$speakText_generation=false,
$texvcinfo_generation=true,
$render_no_check=true,
--
To view, visit https://gerrit.wikimedia.org/r/276734
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2facd0ea314a8d3fb8660d135474e9addf864615
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits