Last modified: 2010-05-15 15:38:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6702, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4702 - Parameterized SVGs
Parameterized SVGs
Status: RESOLVED DUPLICATE of bug 5899
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
PC Linux
: Normal enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-21 09:20 UTC by Derrick Coetzee
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description Derrick Coetzee 2006-01-21 09:20:15 UTC
This is a proposed feature I've discussed with some contributors on Common. Check out this category:

http://commons.wikimedia.org/wiki/Category:Texas_Highways

All the images are nearly identical except for the number printed on them. If converted to SVGs, 
the only difference from one image to another would be the content of a single text tag (assuming 
the appropriate font is embedded if necessary). There are other images where only a single colour 
would change, or the position of a small red dot, or some other very minor element. These could all 
be supported by a scheme which allows users to supply parameters to SVGs using much the same syntax 
they use to supply them to templates. Symbols in the SVG file would be macro-expanded just prior to 
rendering. The cached version used would have to depend on the specific parameters.

Here are some more examples where this feature would be very useful:

http://commons.wikimedia.org/wiki/Category:Autobahn_numbers
http://commons.wikimedia.org/wiki/Category:Bundesstra%C3%9Fen_numbers
http://commons.wikimedia.org/wiki/Category:Maps_of_Ugandan_districts

Discussion here:

http://commons.wikimedia.org/wiki/Commons:Village_pump#SVGs_with_arguments

If you don't have time to do this, please at least advise roughly what might be involved. Thanks.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-26 18:37:36 UTC
Not strictly a duplicate, but I'm merging this with general SVG editing anyway
on Rob's orders.

*** This bug has been marked as a duplicate of 5899 ***

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


Navigation
Links