Last modified: 2014-02-12 23:54:54 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 T22030, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20030 - ISBN Special:BookSources page - world map doesn't work on mobile site
ISBN Special:BookSources page - world map doesn't work on mobile site
Status: RESOLVED DUPLICATE of bug 41514
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-01 19:13 UTC by Michael
Modified: 2014-02-12 23:54 UTC (History)
11 users (show)

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


Attachments

Description Michael 2009-08-01 19:13:14 UTC
When you click on an ISBN, you are directed to a page where you select your location from a world map.  Clicking a place on the map doesn't seem to work.
Comment 1 Derk-Jan Hartman 2009-10-19 13:28:03 UTC
That page is a mess too begin with of course, but mostly the problem is: "Any scaling of the image breaks the conversion of areas in the current implementation." http://www.sagehill.net/docbookxsl/Imagemaps.html

Comment 2 Jon 2012-03-08 00:36:16 UTC
Hello I'm not sure I understand this issue and it is approaching 3 years old.. is this still relevant?
Comment 3 Jon 2012-04-04 14:56:09 UTC
We should probably disable image maps so that pages like this [1] do not break when the images they apply to are scaled. Another idea would be for the page editor to wrap the map and instructions in a div with class nomobile to remove it from the mobile site altogether (This requires help from a Wikipedia admin).

I would suggest the use of svg as a better alternative for this sort of thing.

[1] http://en.m.wikipedia.org/wiki/Special:BookSources/9780674027954
Comment 4 Jon 2012-05-15 12:15:04 UTC
I suggest we simply stop resizing of this image via a noresize class so it looks like this:

Whoever has the power could the class noresize be added to 
	<div class="thumb tleft">
		<div class="thumbinner" style="width:402px;">
			<div class="noresize">
				<map name="ImageMap_1_282378177"></map>
				<img 

I've made a change in MobileFrontend which will allow scrolling on these elements and thus retain the size thus the image map will still work
https://gerrit.wikimedia.org/r/7723
Comment 5 Jon 2012-05-17 12:09:46 UTC
Turns out the change needed is in the ImageMap extension
Sent fix:
https://gerrit.wikimedia.org/r/7851
Comment 6 Jon 2012-06-18 22:56:07 UTC
Reviewing this now the map seems to be gone altogether on the mobile version of Special:BookSources so closing as works for me
Comment 7 Derk-Jan Hartman 2012-10-29 22:42:38 UTC
Map is back, resized, and clicking anywhere does not map to the resized image again.
Comment 8 Jon 2012-10-29 22:48:47 UTC
This is a different bug now as the map does the right thing but doesn't open the section it refers to - bug 41514

*** This bug has been marked as a duplicate of bug 41514 ***
Comment 9 Jon 2012-10-29 22:49:28 UTC
(Note if you look at the address bar when you click on somewhere in the map for me at least it seems to update correctly)

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


Navigation
Links