Implement <mapframe> box frame & captioning
Closed, ResolvedPublic

Description

  • 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.

Yurik created this task.Mar 4 2016, 9:49 PM
Restricted Application added a project: Discovery. · View Herald TranscriptMar 4 2016, 9:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Yurik moved this task from Unsorted to UI tasks on the Maps (Kartographer) board.Mar 4 2016, 9:51 PM
Yurik updated the task description. (Show Details)Mar 5 2016, 1:35 AM
Deskana moved this task from Needs triage to Maps on the Discovery board.Mar 5 2016, 2:34 AM
  • 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)
JGirault claimed this task.May 17 2016, 8:52 PM
TheDJ added a subscriber: TheDJ.May 17 2016, 11:18 PM

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

https://gerrit.wikimedia.org/r/302762

JGirault updated the task description. (Show Details)Aug 22 2016, 9:25 PM

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

https://gerrit.wikimedia.org/r/302762

Johan moved this task from To Triage to In current Tech/News draft on the User-notice board.