Last modified: 2007-03-09 17:37:59 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 T11236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9236 - Clickable image map rendering incorrect
Clickable image map rendering incorrect
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/List_of_...
: easy
: 8921 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-09 10:14 UTC by Paul Robinson
Modified: 2007-03-09 17:37 UTC (History)
1 user (show)

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


Attachments

Description Paul Robinson 2007-03-09 10:14:49 UTC
When creating a clickable map using the new map feature, the software copies the
previous map entry onto the next item.  This causes the links to be wrong.

Taking an image map I made with software which does that, I then translated it
to the format Wikimedia expects.  The generated map copies item one to item 2. 
Now item 2 contains all the coordinates of item 1 in front of its own.  Then
item 3 contains item 2's coordinates before its own.

Examine the page for List of Texas Area Codes. 
http://en.wikipedia.org/wiki/List_of_Texas_area_codes
Check the clickable links, notice how some of them don't match the area code
they are to represent.  Examine the wiki source and see that each area is marked
for a specific place, then look at the actual generated page through 'view page
source' in your browser, the coordinates in the wiki source and the coordinates
on the generated page are not the same; but it's easy to spot the problem: the
map coordinates in HTML for item 1 are copied to the front of item 2; then the
coordinates for item 1 and item 2 are copied to the front of item 3; then the
coordinates for item 1, item 2 and item 3 are copied to the front of item 4, and
so on.

Basically, the link generator should not copy each entry in front of the one
that follows it.  :)
Comment 1 Brion Vibber 2007-03-09 17:36:44 UTC
Fixed in r20298.
Comment 2 Raimond Spekking 2007-03-09 17:37:59 UTC
*** Bug 8921 has been marked as a duplicate of this bug. ***

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


Navigation
Links