El 5/14/09 2:43 PM, Roman Maurer escribió:
Brion Vibberbrion@wikimedia.org wrote:
If anybody's got any particularly interesting issues, examples, problems, or idea prototypes relating to usage of SVG on Wikipedia and other Wikimedia sites, I'd love to see how much I can pack in. :)
I don't know if this is possible, but one feature I'd particularly like to see in Wikipedia is parametrized SVG rendering. For example, when illustrating location of each one of the 210 Slovenian municipalities, it would be cool if (a) you could only have one file with map template, and (b) then specify "[[Image:Obcine_Slovenija_2006.svg|mark_tag="Trbovlje"|color=red]]" or something like that to get this result: http://commons.wikimedia.org/wiki/File:Obcine_Slovenija_2006_Trbovlje.svg
In a present situation, I have to slightly modify the master SVG file and upload 210 two-megabyte files, which is not amusing. Every few years municipality borders get changed, so we have to upload 210+ two-megabyte files yet again.
Is this possible at all?
In theory. :) There's a few feature requests sitting around in various variants:
https://bugzilla.wikimedia.org/show_bug.cgi?id=4688 https://bugzilla.wikimedia.org/show_bug.cgi?id=4689 https://bugzilla.wikimedia.org/show_bug.cgi?id=5899
and in particular: https://bugzilla.wikimedia.org/show_bug.cgi?id=14320 https://bugzilla.wikimedia.org/show_bug.cgi?id=16052
as well as the localization model presented in Nikola's talk.
-- brion