Forum:Editing an SVG file? (thru POST)

Is there a way to modify the DOM of an SVG file in a wiki thru javascript or the MediaWiki API? - M.Fü. Ken 04:04, May 27, 2011 (UTC)


 * Yes, SVG is XML, so you can alter it's structure with javaScript through the DOM. But you need to work with the SVG file itself, not the PNG. But keep in mind that MediaWiki serves SVG images as PNG, so you should refer the true SVG image directly insertin it on the page with JavaScript. --Ciencia Al Poder (talk) -WikiDex 14:54, May 27, 2011 (UTC)