Page MenuHomePhabricator

Implement <mapframe> box frame & captioning
Closed, ResolvedPublic


  • In non-maximized mode, wrap map in a small box, similar to how images are being framed.
  • If <mapframe text=...> is given, show that text under the frame.
  • Treat text as wiki markup.
  • If <mapframe frameless>, show the map without the frame.
Open question:

In case align= attribute is set to (none|inline|...?), make the map behave as an inline block. This might be a separate task.. Nobody has requested it.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
  • Description labels for other multimedia elements such as images and video have the option to provide a caption.
  • Existing use of interactive maps on Wikivoyage include many examples of maps with captions.
    • It also looks like the caption is also a mechanism to provide a full-screen map in these examples. A bit 'mystery-meat' navigation, but could be useful if designed well.
      • To pick on this particular implementation for a second, the icon is confusingly the same used across wikis to denote an external link. It should be something else.
  • Captions could provide clarity to what the visitor is viewing and can provide assistance to people using tools such as screen readers.
  • Most importantly, I just tried to add a caption to the page where we are asking community members for feedback and ideas. I wanted to have a example map, with a label to clarify its relationship with the surrounding text. I couldn't do that. :)
Yurik renamed this task from Decide if needed, and implement <mapframe> captioning to Implement <mapframe> box frame & captioning.Apr 27 2016, 8:53 PM
Yurik updated the task description. (Show Details)

Change 302762 had a related patch set uploaded (by JGirault):
Frame and caption with existing .thumb/.thumbinner CSS

Change 302762 merged by jenkins-bot:
Frame and caption with existing .thumb/.thumbinner CSS