Changes

Jump to navigation Jump to search

Template:Repo link/doc design gitlab

1,162 bytes added, 19:00, 7 March 2016
Switch from === to <h3> for the first heading. This is needed as the Mediawiki requirement of the heading starting on a new line may not be satisfied.
<h3>Site: GitLab</h3>
The base URL for GitLab repositories is:
<nowiki><protocol>://gitlab.com/<proj>[/<repo>]</nowiki>

==== GitLab <URL> for 'type=git' ====
For this parameter value, the complete <code><URL></code> value will be:
<nowiki><protocol>://gitlab.com/<proj>[/<repo>].git</nowiki>

==== GitLab <URL> for 'type=git web' ====
This is not implemented yet. Please add new examples to allow this template to be extended.

==== GitLab <URL> for 'type=zip' ====
For this parameter value, the base zip file URL will be:
<nowiki><protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip</nowiki>

If a branch, tag, or commit is specified, this will be added as a query:
<nowiki><protocol>://gitlab.com/<proj>/<repo>/repository/archive.zip[?ref=<commit|tag|branch>]</nowiki>

==== GitLab URL <TEXT> ====
This is not implemented yet. Please add new examples to allow this template to be extended.
<noinclude>

{{Informative template|1=
== Goal ==

To provide documentation of the design of the {{tl|repo link}} family of templates. This is only for use within documentation of the subtemplates.

}}

[[Category:Repository link templates]]
</noinclude>
Trusted, Bureaucrats
4,228

edits

Navigation menu