Page MenuHomePhabricator

Help ruwiki with the map adoption
Open, MediumPublic

Description

As evident by this great discussion, ruwiki would love to embrace the new maps, and can really use our help. Our maps are already highly praised there, but we can provide additional technical expertise and fix whatever minor issues that are uncovered.

https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%9F%D1%80%D0%B5%D0%B4%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F#.D0.9A.D0.BE.D0.BE.D1.80.D0.B4.D0.B8.D0.BD.D0.B0.D1.82.D1.8B_.D0.B2_.D1.81.D1.82.D0.B0.D1.82.D1.8C.D1.8F.D1.85

One interesting request - ability to specify different text in <maplink> vs the text shown at the bottom of the full screen map. I think we had it in phab, but cannot find it at the moment. Should be very easy to implement.

Event Timeline

First request:

Special:Map, a special page with map info for users without JavaScript, (e. g. https://ru.wikipedia.org/wiki/Special:Map/13/43.64861/-79.38528) should include at least all links currently represented in map sidebar (i. e., external maps of different kinds). Broadly speaking, it should be more like pages from GeoHack (at least to some extent), rather than just plain markers on the map: https://tools.wmflabs.org/geohack/geohack.php?pagename=Kazan&params=55_47_N_49_07_E_region:RU-TA_type:city(1,143,535)

First request:

Special:Map, a special page with map info for users without JavaScript, (e. g. https://ru.wikipedia.org/wiki/Special:Map/13/43.64861/-79.38528) should include at least all links currently represented in map sidebar (i. e., external maps of different kinds). Broadly speaking, it should be more like pages from GeoHack (at least to some extent), rather than just plain markers on the map: https://tools.wmflabs.org/geohack/geohack.php?pagename=Kazan&params=55_47_N_49_07_E_region:RU-TA_type:city(1,143,535)

Thanks! I created T154922.

Another two problems that I mentioned in the discussion: T155350 and T155352

I changed the link to the Wikimedia Maps for Earth coordinates.

It would be nice to solve T151138, to switch completely on Wikimedia Maps. Now, for the other planets, we continue to use GeoHack and WikiMiniAtlas.

Pin icon is indented 5 pixels to the left, it looks awful in the infoboxes.

Also, with a smaller font size, the lower part of the pin icon is cut off, it is also seen in the infoboxes.

I fixed both issues with this CSS for now:

.mw-kartographer-maplink {
	margin-left: 0 !important;
	background-position: -3px -3px !important;
	padding: 2px 0 2px 16px !important;
}

You can see it all in this article: https://ru.wikipedia.org/wiki/Гремячинский

Another (relatively little) issue with current <maplink> implementation: there is no title or any other tooltip for users for any map links. I think they should have a title attribute by default, saying something like ‘Show map’ (with JavaScript) or ‘Show information about these coordinates’ (without).

Russian Wikipedia will probably have a <span> with a title needed, but it would be nice to have on more programmed level.

Deskana lowered the priority of this task from High to Medium.Jan 23 2017, 10:52 PM
Nemo_bis renamed this task from Help ruwiki with the map adaption to Help ruwiki with the map adoption.Mar 29 2017, 2:21 PM

Moving off the sprint board - the Discovery team won't be able to finish this work at this time.

Also, with a smaller font size, the lower part of the pin icon is cut off, it is also seen in the infoboxes.

@putnik I fixed this with background-size: contain in https://gerrit.wikimedia.org/r/582595