Template:M-192/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{documentation subpage}} __NOTOC__ ==Usage== {{tlf|'''m-192'''}} creates a link to a revision on the {{samp|/releases/mozilla-1.9.2}} branch in Mercurial ({{samp|hg.mozilla.o...") |
|||
Line 5: | Line 5: | ||
===Technical information=== | ===Technical information=== | ||
This template uses the template {{tl| | This template uses the template {{tl|hg releases}} to link to Mercurial's {{samp|/releases}} branch. | ||
==Parameters== | ==Parameters== |
Revision as of 10:09, 15 January 2015
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.