mediawiki-skins-MinervaNeue/.svgo.yml
Volker E 8b77828021 SVGO: Unify on standard rules
Those have been introduced into MF's .svgo.yml a while ago in
I9b3bf1bc9652aab2586055c826bba1b3d0c7d58d but due to the code
split those important rules have not yet made it into MinervaNeue.

Change-Id: I71f650bc2a0bfa61f20a8e849a714e4fb3891e30
2020-02-04 02:13:46 +00:00

21 lines
742 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
# Additional options recommended from
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration:
- cleanupIDs: false
- convertPathData: false
- removeDesc: false
- removeTitle: false
- removeViewBox: false