https://bugzilla.wikimedia.org/show_bug.cgi?id=56469

       Web browser: ---
            Bug ID: 56469
           Summary: Viewer lightbox state can't be bookmarked or
                    cut-n-pasted as a link
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MultimediaViewer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Opening the viewer lightbox doesn't affect the URL or browser history, so you
can't easily save or share a link to an image you're viewing: if you just
bookmark or copy-paste the link from your URL bar, when the link is opened
you'll just see an article...

If you're in the know you can copy that "Learn more" link or manually
right-click and pull up the raw image, but these are.... not pretty. :)

Could append a hash parameter on the URL (using history.pushState()/popState()
when available) specifying the image to show in lightbox, and have a magic
handler to open a popup on load if such a hash is specified.

something like
https://en.wikipedia.org/wiki/San_Francisco#mediaview=File:SF_From_Marin_Highlands3.jpg
?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to