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

  - 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
