https://bugzilla.wikimedia.org/show_bug.cgi?id=56469
--- Comment #6 from Mark Holmquist <[email protected]> --- The implementation is: 1. You can load with #mediaviewer/File:Test file.jpg/1 and it will auto-load that file for you IF File:Test file.jpg is the 1th (0-indexed) image on the page. If the page has changed, it will just ignore the hash fragment and load the page normally. 2. Your URL will change when you open the lightbox, and you can use the URL in the location bar to link to your current state. 3. You can press the back button in the lightbox to close the lightbox, and if you've closed the lightbox with the escape button or the close button, you can use the back button to reopen it. Hitting the back button more than once doesn't work currently and I have no idea why. 4. If there are weird characters in the file name, I have no idea what will happen. Yay uncertainty! For #1, I can stop checking if we prefer to just blindly load the nth image if we're given #mediaviewer/n as the hash fragment (as long as it's a number, of course). -- 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
