TheDJ added a project: Wikidata. TheDJ added a comment.
This is a bug in Wikibase's CachingKartographerEmbeddingHandler::getWikiText function. It inserts its float values directly into the string, which in php causes it to output scientific notation for such small values. The JSON part adding the marker can handle that, but the mapframe attributes cannot handle it. (should it ?) <mapframe width="310" height="180" zoom="13" latitude="50.87305555555555" longitude="2.7777777777778E-5" frameless align="left"> { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 2.7777777777778E-5, 50.87305555555555] }, "properties": { "marker-symbol": "marker", "marker-size": "large", "marker-color": "0050d0" } } </mapframe> TASK DETAIL https://phabricator.wikimedia.org/T231948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: TheDJ Cc: TheDJ, Aklapper, Peter_James, Alilje, darthmon_wmde, Nabetaro, Nandana, MSantos, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, Orienteerix, LawExplorer, Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, Yurik, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs