Last modified: 2011-12-22 01:21:37 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 T11772, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9772 - Allow user-defined images as information icon on Imagemaps
Allow user-defined images as information icon on Imagemaps
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-03 05:38 UTC by Raimond Spekking
Modified: 2011-12-22 01:21 UTC (History)
0 users

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


Attachments

Description Raimond Spekking 2007-05-03 05:38:48 UTC
At the moment the imagemap extension uses a hard coded information icon as link
to the image description page.

I propose to allow user-defined images as information icons too:

<imagemap>
Image:...
rect ...
desc bottom-right [[Image:icon.png|20px]]
</imagemap>

Aadvantages:
1. Nicer contrast dependent on the image
2. Projects with a non-latin script can use a character/sign in their script
(cyrillic, CJK, ...)
Comment 1 Brion Vibber 2007-05-03 15:31:44 UTC
For this kind of UI element I'd strongly prefer to keep it consistent. I don't
see much reason for per-use customization in this way, and the per-language
issues would not be very well served by this.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-03 17:28:07 UTC
I expect languages that don't use question marks might prefer a different icon.
 It seems best to consider allowing different icons as part of i18n for the
extension.  Per-use, maybe not.
Comment 3 Michael Daly 2007-05-05 06:29:39 UTC
There are two internationally used information symbols that are language
independent.  The italic lower-case i on a blue background and the circle with a
question mark contained.

If there is a real need for alternative, language dependent versions, perhaps a
set of them should be distributed with the extension and a reference added to
the i18n file to convert from language to symbol - e.g.:
'en' => array(
'imagemap_icon' => 'desc-20.jpg', ...
'xx' => array(
'imagemap_icon' => 'xxdesc-20.jpg', ...

Something tells me the languages that would not recognize the "i" or ? symbols
as used in airports and such would be rare.
Comment 4 Siebrand Mazeland 2008-08-17 22:13:25 UTC
Assigned to extension developer

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


Navigation
Links