Mobrovac has submitted this change and it was merged.

Change subject: Disable svgo
......................................................................


Disable svgo

mathoid has been tested intensively without svgo enabled.
T135955 shows that the SVG "optimization" is not loss-less.
Therefore, svgo is disabled for now.
To optionally serve compressed images, which is a requirement
for the the visual editor menu, we introduce the option svgo
(which is false by default) to generate svgo compressed images
on demand.
Note, that a developer has to start a mathoid instance on his
development machine with the option svg true to update
the visual editor menu using svgo compressed pictures.

Bug: T135955
Change-Id: I2abc30440de9ce262d0be88138855b60e24b8203
---
M config.dev.yaml
M config.prod.yaml
M routes/mathoid.js
M test/features/math/no-check.js
M test/features/math/simple.js
M test/files/mathjax-texvc/mathjax-texvc.json
M test/files/mathjax-texvc/png/1.png
M test/files/mathjax-texvc/png/10.png
M test/files/mathjax-texvc/png/11.png
M test/files/mathjax-texvc/png/12.png
M test/files/mathjax-texvc/png/13.png
M test/files/mathjax-texvc/png/14.png
M test/files/mathjax-texvc/png/15.png
M test/files/mathjax-texvc/png/16.png
M test/files/mathjax-texvc/png/17.png
M test/files/mathjax-texvc/png/18.png
M test/files/mathjax-texvc/png/19.png
M test/files/mathjax-texvc/png/2.png
M test/files/mathjax-texvc/png/20.png
M test/files/mathjax-texvc/png/21.png
M test/files/mathjax-texvc/png/22.png
M test/files/mathjax-texvc/png/23.png
M test/files/mathjax-texvc/png/24.png
M test/files/mathjax-texvc/png/25.png
M test/files/mathjax-texvc/png/26.png
M test/files/mathjax-texvc/png/27.png
M test/files/mathjax-texvc/png/28.png
M test/files/mathjax-texvc/png/29.png
M test/files/mathjax-texvc/png/3.png
M test/files/mathjax-texvc/png/30.png
M test/files/mathjax-texvc/png/31.png
M test/files/mathjax-texvc/png/32.png
M test/files/mathjax-texvc/png/33.png
M test/files/mathjax-texvc/png/34.png
M test/files/mathjax-texvc/png/35.png
M test/files/mathjax-texvc/png/36.png
M test/files/mathjax-texvc/png/37.png
M test/files/mathjax-texvc/png/38.png
M test/files/mathjax-texvc/png/39.png
M test/files/mathjax-texvc/png/4.png
M test/files/mathjax-texvc/png/40.png
M test/files/mathjax-texvc/png/41.png
M test/files/mathjax-texvc/png/42.png
M test/files/mathjax-texvc/png/43.png
M test/files/mathjax-texvc/png/44.png
M test/files/mathjax-texvc/png/45.png
M test/files/mathjax-texvc/png/46.png
M test/files/mathjax-texvc/png/47.png
M test/files/mathjax-texvc/png/48.png
M test/files/mathjax-texvc/png/49.png
M test/files/mathjax-texvc/png/5.png
M test/files/mathjax-texvc/png/50.png
M test/files/mathjax-texvc/png/51.png
M test/files/mathjax-texvc/png/52.png
M test/files/mathjax-texvc/png/53.png
M test/files/mathjax-texvc/png/54.png
M test/files/mathjax-texvc/png/55.png
M test/files/mathjax-texvc/png/56.png
M test/files/mathjax-texvc/png/57.png
M test/files/mathjax-texvc/png/6.png
M test/files/mathjax-texvc/png/60.png
M test/files/mathjax-texvc/png/61.png
M test/files/mathjax-texvc/png/62.png
M test/files/mathjax-texvc/png/63.png
M test/files/mathjax-texvc/png/64.png
M test/files/mathjax-texvc/png/65.png
M test/files/mathjax-texvc/png/66.png
M test/files/mathjax-texvc/png/67.png
M test/files/mathjax-texvc/png/68.png
M test/files/mathjax-texvc/png/69.png
M test/files/mathjax-texvc/png/7.png
M test/files/mathjax-texvc/png/70.png
M test/files/mathjax-texvc/png/71.png
M test/files/mathjax-texvc/png/72.png
M test/files/mathjax-texvc/png/73.png
M test/files/mathjax-texvc/png/74.png
M test/files/mathjax-texvc/png/75.png
M test/files/mathjax-texvc/png/76.png
M test/files/mathjax-texvc/png/77.png
M test/files/mathjax-texvc/png/78.png
M test/files/mathjax-texvc/png/79.png
M test/files/mathjax-texvc/png/8.png
M test/files/mathjax-texvc/png/80.png
M test/files/mathjax-texvc/png/81.png
M test/files/mathjax-texvc/png/82.png
M test/files/mathjax-texvc/png/83.png
M test/files/mathjax-texvc/png/84.png
M test/files/mathjax-texvc/png/85.png
M test/files/mathjax-texvc/png/86.png
M test/files/mathjax-texvc/png/87.png
M test/files/mathjax-texvc/png/9.png
M test/files/mathjax-texvc/png/90.png
M test/files/mathjax-texvc/png/91.png
M test/files/mathjax-texvc/png/92.png
A test/files/mathjax-texvc/png/93.png
M test/files/mathjax-texvc/svg/1.svg
M test/files/mathjax-texvc/svg/10.svg
M test/files/mathjax-texvc/svg/11.svg
M test/files/mathjax-texvc/svg/12.svg
M test/files/mathjax-texvc/svg/13.svg
M test/files/mathjax-texvc/svg/14.svg
M test/files/mathjax-texvc/svg/15.svg
M test/files/mathjax-texvc/svg/16.svg
M test/files/mathjax-texvc/svg/17.svg
M test/files/mathjax-texvc/svg/18.svg
M test/files/mathjax-texvc/svg/19.svg
M test/files/mathjax-texvc/svg/2.svg
M test/files/mathjax-texvc/svg/20.svg
M test/files/mathjax-texvc/svg/21.svg
M test/files/mathjax-texvc/svg/22.svg
M test/files/mathjax-texvc/svg/23.svg
M test/files/mathjax-texvc/svg/24.svg
M test/files/mathjax-texvc/svg/25.svg
M test/files/mathjax-texvc/svg/26.svg
M test/files/mathjax-texvc/svg/27.svg
M test/files/mathjax-texvc/svg/28.svg
M test/files/mathjax-texvc/svg/29.svg
M test/files/mathjax-texvc/svg/3.svg
M test/files/mathjax-texvc/svg/30.svg
M test/files/mathjax-texvc/svg/31.svg
M test/files/mathjax-texvc/svg/32.svg
M test/files/mathjax-texvc/svg/33.svg
M test/files/mathjax-texvc/svg/34.svg
M test/files/mathjax-texvc/svg/35.svg
M test/files/mathjax-texvc/svg/36.svg
M test/files/mathjax-texvc/svg/37.svg
M test/files/mathjax-texvc/svg/38.svg
M test/files/mathjax-texvc/svg/39.svg
M test/files/mathjax-texvc/svg/4.svg
M test/files/mathjax-texvc/svg/40.svg
M test/files/mathjax-texvc/svg/41.svg
M test/files/mathjax-texvc/svg/42.svg
M test/files/mathjax-texvc/svg/43.svg
M test/files/mathjax-texvc/svg/44.svg
M test/files/mathjax-texvc/svg/45.svg
M test/files/mathjax-texvc/svg/46.svg
M test/files/mathjax-texvc/svg/47.svg
M test/files/mathjax-texvc/svg/48.svg
M test/files/mathjax-texvc/svg/49.svg
M test/files/mathjax-texvc/svg/5.svg
M test/files/mathjax-texvc/svg/50.svg
M test/files/mathjax-texvc/svg/51.svg
M test/files/mathjax-texvc/svg/52.svg
M test/files/mathjax-texvc/svg/53.svg
M test/files/mathjax-texvc/svg/54.svg
M test/files/mathjax-texvc/svg/55.svg
M test/files/mathjax-texvc/svg/56.svg
M test/files/mathjax-texvc/svg/57.svg
M test/files/mathjax-texvc/svg/6.svg
M test/files/mathjax-texvc/svg/60.svg
M test/files/mathjax-texvc/svg/61.svg
M test/files/mathjax-texvc/svg/62.svg
M test/files/mathjax-texvc/svg/63.svg
M test/files/mathjax-texvc/svg/64.svg
M test/files/mathjax-texvc/svg/65.svg
M test/files/mathjax-texvc/svg/66.svg
M test/files/mathjax-texvc/svg/67.svg
M test/files/mathjax-texvc/svg/68.svg
M test/files/mathjax-texvc/svg/69.svg
M test/files/mathjax-texvc/svg/7.svg
M test/files/mathjax-texvc/svg/70.svg
M test/files/mathjax-texvc/svg/71.svg
M test/files/mathjax-texvc/svg/72.svg
M test/files/mathjax-texvc/svg/73.svg
M test/files/mathjax-texvc/svg/74.svg
M test/files/mathjax-texvc/svg/75.svg
M test/files/mathjax-texvc/svg/76.svg
M test/files/mathjax-texvc/svg/77.svg
M test/files/mathjax-texvc/svg/78.svg
M test/files/mathjax-texvc/svg/79.svg
M test/files/mathjax-texvc/svg/8.svg
M test/files/mathjax-texvc/svg/80.svg
M test/files/mathjax-texvc/svg/81.svg
M test/files/mathjax-texvc/svg/82.svg
M test/files/mathjax-texvc/svg/83.svg
M test/files/mathjax-texvc/svg/84.svg
M test/files/mathjax-texvc/svg/85.svg
M test/files/mathjax-texvc/svg/86.svg
M test/files/mathjax-texvc/svg/87.svg
M test/files/mathjax-texvc/svg/9.svg
M test/files/mathjax-texvc/svg/90.svg
M test/files/mathjax-texvc/svg/91.svg
M test/files/mathjax-texvc/svg/92.svg
A test/files/mathjax-texvc/svg/93.svg
M test/files/mathjax-texvc/test.md
185 files changed, 769 insertions(+), 108 deletions(-)

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




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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2abc30440de9ce262d0be88138855b60e24b8203
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/services/mathoid
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <w...@physikerwelt.de>
Gerrit-Reviewer: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: Physikerwelt <w...@physikerwelt.de>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to