6,566
edits
(Improved handling of the git and svn parameters - these are now always checked with #ifeq: statements.) |
(Updated the instructions for explaining the SourceForge git repository workaround of appending '/~' to the branch or tag name, if the '/' character is present.) |
||
Line 416: | Line 416: | ||
| {{#ifeq: {{{svn|}}} | 1 | | {{#ifeq: {{{svn|}}} | 1 | ||
| This defaults to {{param||{{{default_branch_svn|trunk}}}}}. <nowiki></nowiki> | | This defaults to {{param||{{{default_branch_svn|trunk}}}}}. <nowiki></nowiki> | ||
}} | |||
}}<!-- | |||
-->{{#ifeq: {{{sf|}}} | 1 | |||
| {{#ifeq: {{{git|}}} | 1 | |||
| For SourceForge git repositories, if the character <code>/</code> is present in the branch name, the text <code>/~</code> must be appended to the branch. <nowiki></nowiki> | |||
}} | }} | ||
}} | }} | ||
{{!}} style="text-align: center" {{!}} {{#if: {{{short_branch|}}} | {{param|{{{short_branch}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{short_branch|}}} | {{param|{{{short_branch}}}}}}} | ||
{{!}} style="text-align: center" {{!}} {{#if: {{{pos_branch|}}} | {{param|{{{pos_branch}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{pos_branch|}}} | {{param|{{{pos_branch}}}}}}} | ||
Line 426: | Line 430: | ||
<tr> | <tr> | ||
{{!}} {{param|tag}} | {{!}} {{param|tag}} | ||
{{!}} The repository tag name. | {{!}} The repository tag name. <!-- | ||
-->{{#ifeq: {{{sf|}}} | 1 | |||
| {{#ifeq: {{{git|}}} | 1 | |||
| For SourceForge git repositories, if the character <code>/</code> is present in the tag name, the text <code>/~</code> must be appended to the tag. <nowiki></nowiki> | |||
}} | |||
}} | |||
{{!}} style="text-align: center" {{!}} {{#if: {{{short_tag|}}} | {{param|{{{short_tag}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{short_tag|}}} | {{param|{{{short_tag}}}}}}} | ||
{{!}} style="text-align: center" {{!}} {{#if: {{{pos_tag|}}} | {{param|{{{pos_tag}}}}}}} | {{!}} style="text-align: center" {{!}} {{#if: {{{pos_tag|}}} | {{param|{{{pos_tag}}}}}}} |