Template talk:GitHub

(Redirected from Template talk:GitHub/doc)
Latest comment: 9 years ago by Technical 13 in topic Clarification needed

Clarification needed

edit

Some clarification needed in the Template's documentation:

Are these treated the same way? Which one is considered Default? --ConCelFan (talk) 09:12, 12 January 2015 (UTC)Reply

  • The template first checks the first four characters of the parameter. If the characters are http then it just passes the parameter directly through (http:// and https:// both start with http). Otherwise, it prepends the parameter with https://github.com/. So, yes, they all have the same result and none of them are default per se. — {{U|Technical 13}} (etc) 13:31, 12 January 2015 (UTC)Reply
What if the name of the project starts with http, like, for example, http2/http2-spec (https://github.com/http2/http2-spec) ? --ConCelFan (talk) 10:14, 14 January 2015 (UTC)Reply