Jheald added a comment.

The standard URLs for the MediaViewer appear to be the wiki page it was launched from, then #/media/ and then the name of the file to display, so

with the other files to include in the slideshow (if the user wants to click through to them) being deduced from the base URL. The base URL also tells MediaViewer the page to return to if the user closes the viewer.

One could therefore link to MediaViewer like this:

i.e. https://commons.wikimedia.org/wiki/ + Filename + #/media/ + Filename

I don't know if there are any other ways to link & invoke MediaViewer (but the might be), or to pass it the names of the other images to include in the slideshow.


TASK DETAIL
https://phabricator.wikimedia.org/T157993

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jheald
Cc: Smalyshev, Jonas, Aklapper, Jheald, EBjune, Acer, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, Base, matthiasmullie, aude, Deskana, Manybubbles, Ricordisamoa, Fabrice_Florin, Mbch331, Tgr
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to