Template:SVN/doc

From MozillaWiki
Jump to: navigation, search
Edit-copy green.svg
This is a documentation subpage for Template:SVN.
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{SVN}} creates a link to a SVN revision on Mozilla's source code browsing website http://viewvc.svn.mozilla.org/vc/.

Parameters

There is only one parameter, which is unnamed and required.

Syntax

The template's syntax is

  • {{SVN|revision number}}

Required parameter

1

Revision number

To use this template, you need to enter the Subversion revision number for the revision you wish to link to. The parameter is unnamed, so no parameter name needs to be specified.

Usage
  • {{SVN|revision number}}

Example

Correct use

Case What you type What you see Notes
SVN revision number 18173}} r18173

See also

  • {{c-c}}: links to a revision in the comm-central tree in Mercurial.
  • {{hg}}: links to a revision in the mozilla-central tree in Mercurial.
  • {{rev}}: links to a revision in a custom repository in Mercurial.
  • {{source}}: links to source code in the mozilla-central Mercurial tree, via the Mozilla France service in Mozilla Cross-Reference (MXR).