[Wikidata-bugs] [Maniphest] [Updated] T231948: : Attribute "longitude" has an invalid value - when value is close to zero
ReleaseTaggerBot added a project: MW-1.35-notes (1.35.0-wmf.25; 2020-03-24). TASK DETAIL https://phabricator.wikimedia.org/T231948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ReleaseTaggerBot Cc: thiemowmde, TheDJ, Aklapper, Peter_James, Alter-paule, Beast1978, Un1tY, Alilje, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, darthmon_wmde, Nabetaro, Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, MSantos, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, Looniverse, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Orienteerix, LawExplorer, WSH1906, Lewizho99, Ddproxy, Maathavan, _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
[Wikidata-bugs] [Maniphest] [Updated] T231948: : Attribute "longitude" has an invalid value - when value is close to zero
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T231948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: TheDJ, Aklapper, Peter_James, Alter-paule, Beast1978, Un1tY, Alilje, Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, darthmon_wmde, Nabetaro, Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, MSantos, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, Looniverse, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Orienteerix, LawExplorer, WSH1906, Lewizho99, Ddproxy, Maathavan, _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
[Wikidata-bugs] [Maniphest] [Updated] T231948: : Attribute "longitude" has an invalid value - when value is close to zero
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 ?) { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 2.8E-5, 50.873055] }, "properties": { "marker-symbol": "marker", "marker-size": "large", "marker-color": "0050d0" } } 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