https://bugzilla.wikimedia.org/show_bug.cgi?id=4688
--- Comment #8 from Papou <[email protected]> --- I have written svg-sieve a script that does what bug 4688 suggests, select which layers to display, and by extension, bug 16052, select messages in a particular language. Principle: If a top level SVG group is tagged with a label contained in a matchlist, its visibility is enforced (< g style="display:) and the group is copied as is to standard output (flush), together with non grouped code. Else, the group is removed from the stream (purge). The script is extensible (open ended) to other tags to identify the layers. Full code and examples to play with @ http://www.papou.byethost9.com/notes/svg-sieve/ See comments in the source. Brussels-municipalities.svg is the source file, made with Inkscape, and the other svgs are generated samples. Please note in the unimpressive source svg the warning message indicating that the image is not final. svg-sieve -d all to test the inline example with debug. svg-sieve -d ma -l Ixelles,language=ru,names=ru Brussels-municipalities.svg > Brussels-Ixelles-ru.svg add -d mi to discover the layers. A patch exercising svg-sieve from wiki syntax would allow running it on a test basis. I am presently busy elsewhere, but I would try to run back asap if interest raises. What about this bug title? Allowing selecting SVG layers with Image parameters, including multilanguage -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
