User talk:Zzo38: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
No edit summary |
(→.org.org: I will fix offline HTML but need clarification on "entirely different sites") |
||
Line 4: | Line 4: | ||
FYI: What you saw beginning with <code><nowiki>[//allthetropes</nowiki></code> was called a "protocol-relative link". If you follow a protocol-relative link from an <code>http:</code> page, it'll connect to the other server with <code>http:</code>, and if you do so from an <code>https:</code> page, it'll connect to the other server with <code>http:</code>. See [[mediawikiwiki:MediaWiki 1.18#Protocol-relative URLs]]. --[[User:Tepples|Tepples]] ([[User talk:Tepples|talk]]) 14:51, 16 August 2015 (MDT) | FYI: What you saw beginning with <code><nowiki>[//allthetropes</nowiki></code> was called a "protocol-relative link". If you follow a protocol-relative link from an <code>http:</code> page, it'll connect to the other server with <code>http:</code>, and if you do so from an <code>https:</code> page, it'll connect to the other server with <code>http:</code>. See [[mediawikiwiki:MediaWiki 1.18#Protocol-relative URLs]]. --[[User:Tepples|Tepples]] ([[User talk:Tepples|talk]]) 14:51, 16 August 2015 (MDT) | ||
:I do know what protocol-relative URIs are. However, it seems to me that if the protocol is FILE then it might not work (unless MediaWiki takes care of that on the server-side; also that they shouldn't be used between two entirely different sites)...but that is your page and you can fix how you want it to do. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 09:37, 18 August 2015 (MDT) | :I do know what protocol-relative URIs are. However, it seems to me that if the protocol is FILE then it might not work (unless MediaWiki takes care of that on the server-side; also that they shouldn't be used between two entirely different sites)...but that is your page and you can fix how you want it to do. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 09:37, 18 August 2015 (MDT) | ||
::You have a good point about <code>file:</code> breakage. The next "Offline HTML version" will transform protocol-relative URLs into <code>http:</code> URLs. As for the rule "they shouldn't be used between two entirely different sites", is there an RFC or other spec documenting this? --[[User:Tepples|Tepples]] ([[User talk:Tepples|talk]]) 12:45, 18 August 2015 (MDT) |
Revision as of 18:45, 18 August 2015
.org.org
Thanks for fixing the accidental .org.org
in the link to my ATT user page. I must have had CNET syndrome that day.
FYI: What you saw beginning with [//allthetropes
was called a "protocol-relative link". If you follow a protocol-relative link from an http:
page, it'll connect to the other server with http:
, and if you do so from an https:
page, it'll connect to the other server with http:
. See mediawikiwiki:MediaWiki 1.18#Protocol-relative URLs. --Tepples (talk) 14:51, 16 August 2015 (MDT)
- I do know what protocol-relative URIs are. However, it seems to me that if the protocol is FILE then it might not work (unless MediaWiki takes care of that on the server-side; also that they shouldn't be used between two entirely different sites)...but that is your page and you can fix how you want it to do. --Zzo38 (talk) 09:37, 18 August 2015 (MDT)
- You have a good point about
file:
breakage. The next "Offline HTML version" will transform protocol-relative URLs intohttp:
URLs. As for the rule "they shouldn't be used between two entirely different sites", is there an RFC or other spec documenting this? --Tepples (talk) 12:45, 18 August 2015 (MDT)
- You have a good point about