FWIW (possibly off topic) but editing the text of svgs is an idea that is very interesting. I could imagine this being extremely useful for reuse.
Take the example of a map of New York on the New York wiki page. Imagine having an svg asset which is a map of the USA and an asset which is a marker. It would be great in wiki text to be able to create a new svg which transcludes these two assets to give a map of the USA with a marker positioned on top. This sort of thing would be very powerful if it could be pulled off and editing wiki text would be much more convenient in this situation in comparison to svg creation and uploading. In this particular case you could also improve the marker style once and all maps using it would instantly get the style update. Powerful stuff. On Jul 15, 2012 3:37 AM, "Marcin Cieslak" <[email protected]> wrote: > >> Achim Flammenkamp <[email protected]> wrote: > > > > My aim is the have on wikimedia/wikipedia (/wiki-whatever sounds > apropriate) > > 1) a version-control environment (as we have for artcile-, talk-, user-, > > category-, template- ... etc (text-)namespace), because it is IMHO > apropriate > > for each (huamn-readable) textual namespace. > > SVG has a (I guess historcial) exception, because it was new and was > sorted in > > like (bitmap-) graphics (JPEG/PNG or what ever exists only on wikipedia) > > (badly classified IMHO). > > I don't think that version control we offer with article revisions > is a proper one for any kind of XML, including SVGs. For git fanbois: > yes, git does not solve that, either. > > The problem is that you have to think in terms of nodes, their attributes > and contents and not their textual form. I pretty often add/remove > spaces and newlines when editing XML by hand for clarity; that should > not be versioned as this does not change the substance. > > I am editing SVG files by hand pretty often (using vi for simple things > and XMLmind's xxe for more complex stuff) to fix various problems > related by users, like missing namespaces, wrong CSS, etc. > > But I wouldn't really want to do that within some textarea > interface within MediaWiki. Maybe, for the purpose of educating > users, there should be some way to pretty print XML source > of the SVG file - but unless there is a decent XML node editor > I don't think we this is something we need right now. > > //Saper > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
