Last modified: 2008-12-29 08:42:35 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 16825 - Extension should accept variables as image and link names
Extension should accept variables as image and link names
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Tim Starling
Depends on:
  Show dependency treegraph
Reported: 2008-12-29 08:38 UTC by Erik
Modified: 2008-12-29 08:42 UTC (History)
1 user (show)

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


Description Erik 2008-12-29 08:38:58 UTC
Currently, images and links specified in the extension have to be static if we are using them in a template. If we wanted them to be variable depending on an incoming variable of a template, that should work too. For example, this works:
Image:Foo.jpg|100px|picture of a foo
rect    0  0  50 50  [[{{{1|}}}]]
desc bottom-left

But this, would not work (but should):
{{{myImage}}} |100px|picture of a foo
rect    0  0  50 50  [[{{{MyLink}}}]]
desc bottom-left
Comment 1 Raimond Spekking 2008-12-29 08:42:35 UTC
In general your bug is valid, but it's a dupe of bug 2257.

For a solution of your problem see the {{#tag:imagemap...}} syntax, i.e. in

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

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