Last modified: 2007-03-09 17:37:59 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 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