Template:M-c/doc

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

Usage

{{m-c}} creates a link to a revision in the repository mozilla-central in Mercurial.

Parameters

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

Syntax

The template's syntax is

  • {{m-c|revision id }}

Required parameter

1

Revision id

The alphanumeric Mercurial revision id for the revision you wish to link to. This parameter is unnamed, so no parameter name needs to be specified.

Usage
  • {{m-c|1}}

Examples

Correct use

Case What you type What you see
Revision id 2c951493eef5}} 2c951493eef5

See also

  • {{c-c}}: links to a revision in the repository comm-central 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).
  • {{SVN}}: links to a revision in Mozilla's source code browsing website for SVN.