Pmiazga has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/374827 )

Change subject: Hygiene: Bring missing SVGO config file from MobileFrontend
......................................................................

Hygiene: Bring missing SVGO config file from MobileFrontend

During MobileFrontend/MinervaNeue split we forgot to copy the
SVGO config file. This files is required for proper svgo execution,
othwerwise it complains that file is missing and
dev-scripts/svg_check.sh script fails

Change-Id: Ic68257091486b001126974833088666754652291
---
A .svgo.yml
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/MinervaNeue 
refs/changes/27/374827/1

diff --git a/.svgo.yml b/.svgo.yml
new file mode 100644
index 0000000..dd58499
--- /dev/null
+++ b/.svgo.yml
@@ -0,0 +1,12 @@
+plugins:
+
+  # If the SVG doesn't start with an XML declaration, then it's MIME type will
+  # be detected as "text/plain" rather than "image/svg+xml" by libmagic and,
+  # consequently, MediaWiki's CSSMin CSS minifier. libmagic's default database
+  # currently requires that SVGs contain an XML declaration
+  # <https://github.com/threatstack/libmagic/blob/master/magic/Magdir/sgml#L5>.
+  - removeXMLProcInst: false
+
+  - cleanupIDs: false
+  - collapseGroups: false
+  - mergePaths: false

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic68257091486b001126974833088666754652291
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/MinervaNeue
Gerrit-Branch: master
Gerrit-Owner: Pmiazga <[email protected]>

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

Reply via email to