hoo added a comment.
In T309695#7988339 <https://phabricator.wikimedia.org/T309695#7988339>, @awight wrote: > [...] > 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 That also sounds like a viable solution to me, but I'm not sure it's preferable to the `FormatterOptions` approach above (AFAIS we would probably be the only users for this and I have never touched kartotherian myself). As `CommonsInlineImageFormatter` currently accesses `ParserOptions::getThumbSize` (in `WikibaseValueFormatterBuilders::newCommonsMediaFormatter` these are also taken from `RequestContext::getMain`), going the route described above, we could also cater to that use case (and remove the need for global state here). TASK DETAIL https://phabricator.wikimedia.org/T309695 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hoo 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