On some occasions, MMV still suggests protocol relative rules to Commons. E.g.
- Go to https://en.wikipedia.org/wiki/Wikipedia#/media/File:History_Comparison_Example_(Vector).png
- Click the download icon.
- Click "You need to attribute the author"
- Click "HTML"
- Copy the code.
You get: By Cody Brittain (<a href="//commons.wikimedia.org/wiki/User:Cbrittain10" title="User:Cbrittain10">Cbrittain10</a>) - Wikipedia, <a href="https://creativecommons.org/licenses/by-sa/3.0" title="Creative Commons Attribution-Share Alike 3.0">CC BY-SA 3.0</a>, <a href="https://commons.wikimedia.org/w/index.php?curid=31349187">Link</a>
If you use this code somewhere with https, the protocol relative URL is equivalent to https://commons.wikimedia.org/wiki/User:Cbrittain10, if you use it with http, you'll just get redirected to the same URL.
So the protocol relative URLs no longer make sense and should be replaced with explicit https.