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

Change subject: Document removeXMLProcInst line in .svgo.yml
......................................................................

Document removeXMLProcInst line in .svgo.yml

Change-Id: Ibacb748fec161f08a2e2d9ca15847da0e3cc8ccd
---
M .svgo.yml
1 file changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/14/350814/1

diff --git a/.svgo.yml b/.svgo.yml
index 52ae3ca..dd58499 100644
--- a/.svgo.yml
+++ b/.svgo.yml
@@ -1,5 +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
\ No newline at end of file
+  - mergePaths: false

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibacb748fec161f08a2e2d9ca15847da0e3cc8ccd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>

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

Reply via email to