Template:Repo link: Difference between revisions

Jump to navigation Jump to search
m
Priority fix in the docs.
mNo edit summary
m (Priority fix in the docs.)
Line 422: Line 422:


This will be abstracted as:
This will be abstracted as:
  <nowiki><protocol>://<DOMAIN>/<p|u>/<user|proj>/<repo>/</nowiki>
  <nowiki><protocol>://<DOMAIN>/<u|p>/<user|proj>/<repo>/</nowiki>


For the '''git''' and '''svn''' values of the '''type''' parameter, a login is allowed:
For the '''git''' and '''svn''' values of the '''type''' parameter, a login is allowed:
  <nowiki><protocol>://[<login>@]<DOMAIN>/<p|u>/<user|proj>/<repo>/</nowiki>
  <nowiki><protocol>://[<login>@]<DOMAIN>/<u|p>/<user|proj>/<repo>/</nowiki>


==== SourceForge <URL> for 'type=git' ====
==== SourceForge <URL> for 'type=git' ====
For this parameter value, the complete <code><URL></code> value will be:
For this parameter value, the complete <code><URL></code> value will be:
  <nowiki><protocol>://[<login>@]git.code.sf.net/<p|u>/<user|proj>/<repo>/</nowiki>
  <nowiki><protocol>://[<login>@]git.code.sf.net/<u|p>/<user|proj>/<repo>/</nowiki>


==== SourceForge <URL> for 'type=git web' ====
==== SourceForge <URL> for 'type=git web' ====
For this parameter value, the <code><URL></code> value will be:
For this parameter value, the <code><URL></code> value will be:
  <nowiki><protocol>://sourceforge.net/<p|u>/<user|proj>/<repo>/ci/<commit|branch>/<VIEW>/<path>[#l<line>]</nowiki>
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/ci/<commit|branch>/<VIEW>/<path>[#l<line>]</nowiki>


The <code><VIEW></code> value for different values of '''view''' is:
The <code><VIEW></code> value for different values of '''view''' is:
Line 441: Line 441:


If the parameter setting '''view=rss''' is used, a different <code><URL></code> value is produced:
If the parameter setting '''view=rss''' is used, a different <code><URL></code> value is produced:
  <nowiki><protocol>://sourceforge.net/<p|u>/<user|proj>/<repo>/feed/</nowiki>
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/</nowiki>


==== SourceForge <URL> for 'type=svn' ====
==== SourceForge <URL> for 'type=svn' ====
For this parameter value, the <code><URL></code> value will instead be:
For this parameter value, the <code><URL></code> value will instead be:
  <nowiki><protocol>://[<login>@]svn.code.sf.net/<p|u>/<user|proj>/<repo>/<branch>[/<path>][@<commit>]</nowiki>
  <nowiki><protocol>://[<login>@]svn.code.sf.net/<u|p>/<user|proj>/<repo>/<branch>[/<path>][@<commit>]</nowiki>


==== SourceForge <URL> for 'type=svn web' ====
==== SourceForge <URL> for 'type=svn web' ====
For this parameter value, the <code><URL></code> value will be:
For this parameter value, the <code><URL></code> value will be:
  <nowiki><protocol>://sourceforge.net/<p|u>/<user|proj>/<repo>/<commit|HEAD>/<VIEW>/<branch>[/<path>][#l<line>]</nowiki>
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/<VIEW>/<branch>[/<path>][#l<line>]</nowiki>


The <code><VIEW></code> value for different values of '''view''' is:
The <code><VIEW></code> value for different values of '''view''' is:
Line 456: Line 456:


If the parameter setting '''view=commit''' is used, a truncated <URL> value is produced:
If the parameter setting '''view=commit''' is used, a truncated <URL> value is produced:
  <nowiki><protocol>://sourceforge.net/<p|u>/<user|proj>/<repo>/<commit|HEAD>/</nowiki>
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/<commit|HEAD>/</nowiki>


If the parameter setting '''view=rss''' is used, a different <URL> value is produced:
If the parameter setting '''view=rss''' is used, a different <URL> value is produced:
  <nowiki><protocol>://sourceforge.net/<p|u>/<user|proj>/<repo>/feed/</nowiki>
  <nowiki><protocol>://sourceforge.net/<u|p>/<user|proj>/<repo>/feed/</nowiki>


==== SourceForge URL <TEXT> for 'type=git' and 'type=git web' ====
==== SourceForge URL <TEXT> for 'type=git' and 'type=git web' ====

Navigation menu