6,566
edits
(The 'full' parameter must now be set to 1 for it to be active. This is required for some recursive transclusions setting a value for {{{full|}}} when the 'full' parameter is not supplied.) |
(Gitorious merge request support.) |
||
Line 262: | Line 262: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{path|}}} | ;f={{{path|}}}}}<!-- The file or directory path. | -->{{#if: {{{path|}}} | ;f={{{path|}}}}}<!-- The file or directory path. | ||
-->{{#if: {{{commit|{{{branch|}}}}}} <!-- | -->{{#if: {{{commit|{{{branch|{{{mr|}}}}}}}}} <!-- The commit, branch, or merge request query string. --> | ||
| {{#if: {{{view|}}} | | {{#if: {{{view|}}} | ||
| {{#switch: {{{view|}}} | | {{#switch: {{{view|}}} | ||
Line 274: | Line 274: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{mr|}}} | ||
| {{{ | | refs/merge-requests/{{{mr}}} <!-- The internal git reference for the merge request. --> | ||
| {{#if: {{{ | | {{#if: {{{commit|}}} | ||
| {{{commit}}} <!-- The commit hash. --> | |||
| {{#if: {{{branch|}}}<!-- The internal git reference for the branch. --> | |||
| refs/heads/{{{branch}}} | |||
}} | |||
}} | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{line|}}} |#l{{{line}}}}} <!-- The optional line number. | -->{{#if: {{{line|}}} |#l{{{line}}}}} <!-- The optional line number. | ||
Line 289: | Line 294: | ||
| {{{proj|fg}}}/<!-- The project name. | | {{{proj|fg}}}/<!-- The project name. | ||
-->{{{repo|flightgear}}}/<!-- The repository name. | -->{{{repo|flightgear}}}/<!-- The repository name. | ||
-->{{{commit|{{{branch|HEAD}}}}}}<!-- | -->{{#if: {{{mr|}}} | ||
| merge-requests/{{{mr}}}<!-- The merge request.--> | |||
| {{{commit|{{{branch|HEAD}}}}}}<!-- Or the commit or branch.--> | |||
}} | |||
}} | }} | ||
}}<!-- | }}<!-- |