Last modified: 2013-10-27 16:08:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4689 - Allowing tag Image to access SVG objects
Allowing tag Image to access SVG objects
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
PC Windows XP
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-20 12:47 UTC by Nuno Tavares
Modified: 2013-10-27 16:08 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nuno Tavares 2006-01-20 12:47:03 UTC
Since MediaWiki now renders SVG directly, it would be nice to permit choosing
wich objects to render, or to change on the fly. We at pt:wikipedia have an SVG
map where we store everything, from rivers to municipalities. We could choose on
the fly which municipality should be highlighted, so the map could be just one
(instead of the hundreds used where two single objects change). 

Proposed format (something like this):
[[Image:whatever.svg|control=municipality_Castelo_Branco.fill=gradient,black,white;|...]]

This would change the ''fill'' property of the ''municipality_Castelo_Branco''
objecto to a (SVG-specific-parameter) gradient, starting with black, finishing
with white.
Comment 1 Happy-melon 2010-03-18 13:55:21 UTC

*** This bug has been marked as a duplicate of bug 4688 ***
Comment 2 Nuno Tavares 2013-10-27 16:08:50 UTC
Hi there, since I'm the reporter from #4688 and #4689, I just wanted to highlight these were separate on purpose. 

Issue #4688 deals with layer selection, while this one (#4689) deals with layer/object *manipulation*. This one can obviously be accomplished with #4688, but I think that it would require the SVG to have the "highlighted" polygons in the form of layers. That could turn an already big SVG into a bigger one, as well requiring the author to basically duplicate all portions (creating highlighted ones), although it could be eventually accomplished in a easier way.

So I'll change the status (if possible) so you can review this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links