2017-08-30 14:53:23 +00:00
|
|
|
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
|
2020-02-04 00:36:08 +00:00
|
|
|
|
|
|
|
# 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
|