[OSM-talk] SVG support on wiki?
frankie at frankieroberto.com
Sun Jul 22 19:28:14 BST 2007
> If this is enabled, then it is probable that SVG containing script will not
> be permitted.
I think this must have been resolved for Wikipedia, eg see this thread
from 2005: http://lists.wikimedia.org/pipermail/wikitech-l/2005-March/015968.html
I'm not sure how this was finally implemented, but
"MediaWiki supports SVG image rendering: if enabled, SVG images can be
used like other image files; they will automatically be rendered as a
PNG file on demand. To enable SVG support:
First, allow upload of SVG files in the LocalSettings.php file:
$wgFileExtensions = 'svg'; Note that MediaWiki will refuse SVG files
positives, set $wgAllowTitlesInSVG = true;. If you get an error saying
the file is corrupt, make sure mime type detection is working
Enabling SVG files on the wiki might be a good way of encouraging new
users to have a play with some of our data, perhaps even creating
custom maps with beautiful cartography.
More information about the talk