Last modified: 2010-05-15 15:38:53 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 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