awight added a comment.
There's a completely different direction we could go in, which would mean adding some non-trivial functionality to kartotherian but would greatly simplify the integration here. The mapframe tag could support a new attribute like `marker="center"` which would plot a simple marker at the center coordinates. This requires no round-trip from the server back to MediaWiki. The limitation is that we couldn't show multiple markers or geoshapes, but I think it would be sufficient for this one use case. For example, this page <https://en.wikipedia.org/wiki/User:Adamw/sandbox/T309695> has the contents: <mapframe latitude="35.677" longitude="139.774" zoom="6" width="400" height="300" align="right" /> Since there is no child text inside the mapframe element, it avoids the round-trip and its thumbnail URL looks like https://maps.wikimedia.org/img/osm-intl,6,35.677,139.774,400x300.png?lang=en . I'm proposing a new attribute and URL parameter that would look like, <mapframe latitude="35.677" longitude="139.774" zoom="6" width="400" height="300" align="right" marker="center" /> and an URL like, https://maps.wikimedia.org/img/osm-intl,6,35.677,139.774,400x300.png?lang=en&marker=center TASK DETAIL https://phabricator.wikimedia.org/T309695 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: awight Cc: Lucas_Werkmeister_WMDE, Lydia_Pintscher, hoo, awight, Aklapper, mrephabricator, Fernandobacasegua34, Astuthiodit_1, 786, Suran38, Biggs657, karapayneWMDE, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, Alilje, Hook696, Sms2sms, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, JGirault, Neuronton, Scott_WUaS, phabyogi, Susannaanas, lxbarth, Luke081515, Planemad, Wikidata-bugs, aude, thiemowmde, Yurik, TheDJ, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org