Jump to content

Template talk:GitHub

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]