Magnus Manske wrote:
SVG graphics support was suggested on wikipedia-l. I
like the idea;
that's why I tried it for Nupedia once, but... :-(
Proposal:
* [[svg:foobar]] is just plain-text editable, but displays as an image
* A link to [[svg:foobar]] is displayed as an image as well
Optional, after saving an edit to [[svg:foobar]], an image (foobar.png)
could be created via svg2png (never tried that, though). The image would
then be displayed instead of the SVG, and "real" SVG display could be
turned on in the user options (until most browsers support native SVG).
I didn't make this a feature request yet.
I'm not sure that SVGs are sufficiently user-friendly for it to make
sense to edit the source wiki-style, except perhaps for the simplest of
images (maybe for [[Square]] and [[Triangle]]...). To me, it makes more
sense to keep them in the [[image:]] space, with automagic conversion[1]
when we notice we're dealing with a *.svg. People can save the file,
edit it by hand or in an editor, and reupload; old revisions of uploaded
files are now kept and can be reverted easily if need be.
[1] Options for display could be:
* Inclusion of SVG code in single X(HT)ML document (for the future)
* Link to SVG as an <img> (Mozilla should handle this? I think)
* Link to SVG as <object> using plugin (ex, Adobe SVG viewer)
* Conversion to PNG
* ?
-- brion vibber (brion @
pobox.com)