Template:M-192/doc

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Edit-copy green.svg
This is a documentation subpage for Template:M-192.
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{m-192}} creates a link to a revision on the /releases/mozilla-1.9.2 branch in Mercurial (hg.mozilla.org/releases/mozilla-1.9.2/rev/…).

Technical information

This template uses the template {{hg releases}} to link to Mercurial's /releases branch.

Parameters

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

Syntax

The template's syntax is

  • {{m-192|revision id }}

Required parameter

1

Revision id

To use this template, you need to enter the alphanumeric Mercurial revision id for the revision you wish to link to.

Usage
  • {{m-192|1}}

Example

Correct use

Case What you type What you see
Revision id {{m-192|afa51044ecf0}} afa51044ecf0

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, with options to alter the link target.
  • {{hgrel}}: links to a revision in the releases tree in Mercurial, with options to choose repository, and to add a custom link text.
  • {{m-c}}: 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.