mediawiki-skins-MinervaNeue/.svgo.yml
Piotr Miazga b7946cba59 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
2017-08-30 23:14:55 +00:00

13 lines
485 B
YAML

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