Template talk:GitHub
Appearance
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)
- The template first checks the first four characters of the parameter. If the characters are
httpthen it just passes the parameter directly through (http://andhttps://both start withhttp). Otherwise, it prepends the parameter withhttps://github.com/. So, yes, they all have the same result and none of them are default per se. — {{U|Technical 13}} (e • t • c) 13:31, 12 January 2015 (UTC)
- 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)
- What if the name of the project starts with
- Then you'll need to use the full URL. http2-spec on GitHub or http2-spec on GitHub — {{U|Technical 13}} (e • t • c) 14:57, 14 January 2015 (UTC)