Changes

Jump to navigation Jump to search

Template:Repo link/doc design generic

1,371 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: Generic</h3>
If the '''site''' parameter does not match one of the know open source infrastructures, then an attempt will be made to create a generic repository link. The base URL for generic repositories is:
<nowiki><protocol>://[<login>@]<site>/<user|proj>[/<repo>]</nowiki>

==== Generic repository <URL> for 'type=git'====
For this parameter value, the complete <code><URL></code> value will be the base URL.

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

==== Generic repository <URL> for 'type=svn' ====
For this parameter value, the complete <code><URL></code> value will be:
<nowiki><protocol>://[<login>@]<site>/<user|proj>[/<repo>]/<branch></nowiki>

The value of '''branch''' defaults to <code>trunk</code>.

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

==== Generic repository 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,223

edits

Navigation menu