title: Customizing an SVG in Mediawiki
body: <p>I have ImageMagick 6.8.5-6 up and running on MediaWiki 1.20.2 (Running on Server 2008 R2, IIS 7.5).  It's doing it's thing and appears to be functioning perfectly.  I'm trying to figure out how I can pass parameters to the SVG, either in wikicode or using the html tag to wrap the svg in an object tag.</p>
  
  <p>Here is the SVG I'm using.  (created on <a href="http://svg-edit.googlecode.com/" rel="nofollow">http://svg-edit.googlecode.com/</a>)  This is just a simple arrow or tag I'm going to use to point at stuff and label stuff.</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 100" width="100%" height="100%"&gt;
    &lt;path stroke="#000000" id="Arrow" d="m2.749992,2.750002l106.118515,0l88.431496,47.250097l-88.431496,47.249901l-106.118515,0l0,-94.499998z" stroke-width="3"/&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>I need to figure out how to pass the width, height, and fill parameters, so I can set the size and color of the tag.</p>
  
  <p>Wikicode doesn't work from what I've tried, so I've enabled raw html and I'm calling it like this.</p>
  
  <pre><code>&lt;html&gt;
    &lt;object type="image/svg+xml" data="/wiki/images/3/32/Arrow.svg"&gt;
    &lt;/object&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How I get those parameters from a wiki page into that svg I have no idea?  </p>
  
  <p>Edit: <br /> 
  Desktops in my environment are running IE8, which doesn't support SVG.  I just have to figure out how to tell ImageMagick to 'fill' the svg with a given color before it generates the png thumbnail.</p>