https://bugzilla.wikimedia.org/show_bug.cgi?id=56787
--- Comment #7 from Tisza Gergő <gti...@gmail.com> --- This has to be done in client-side code, and the URL is not necessarily a local one (the lightbox could be on enwiki, while the image could nbe hosted on Commons); more importantly, that logic would result in using HTTP or HTTPS based on the preference of the user who is clicking at the use file button. That user will use the snippet to share the image on his blog or something, and has nothing to do with the user who clicks on that shared image to go to the file description page on Wikipedia. There is just no way to respect the latter user's preferences, so we might as well disrespect it in the more useful direction. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l