Page MenuHomePhabricator

Make "static" preview look more like the static image
Open, Needs TriagePublicBUG REPORT

Description

On wikis that show static maps, the preview while editing always needs to come from a dynamic map, because the static image generation can only work on saved pages.

So to give the users a better idea on how the map would look like when saved, we try to mock a static behavior with the dynamic preview. There some steps that still could be done in that direction.

  • Don't show the zoom indicators ( already done in wikitext preview )
  • When you expand the preview map, move around and close it again, the small map should show initial position and zoom https://gerrit.wikimedia.org/r/c/885993
  • Don't show the scale
  • Show the short copyright footer

See for example

wikitextVE
Bildschirmfoto 2022-06-24 um 11.44.19.png (1×738 px, 326 KB)
Bildschirmfoto 2022-06-24 um 11.43.11.png (1×738 px, 352 KB)

vs saved text

Bildschirmfoto 2022-06-24 um 11.43.05.png (1×738 px, 319 KB)