Template:Repo link: Difference between revisions

Jump to navigation Jump to search
Use FQDN in default link texts for GitLab and GitHub (to avoid URL-like link texts with an incorrect domain name when the 'text' parameter isn't given); don't use "gitorious.org" as we don't know who could buy the defunct domain name
(Default GitLab branches to next)
(Use FQDN in default link texts for GitLab and GitHub (to avoid URL-like link texts with an incorrect domain name when the 'text' parameter isn't given); don't use "gitorious.org" as we don't know who could buy the defunct domain name)
Line 242: Line 242:
                     | {{#if: {{{simplepath|}}}
                     | {{#if: {{{simplepath|}}}
                         | <!--                                    No project, repository or branch. -->
                         | <!--                                    No project, repository or branch. -->
                         | github/<!--                             Site advertising.
                         | github.com/<!--                         Site advertising.
                         -->{{{user|{{{proj|}}}}}}<!--              The user or project name.
                         -->{{{user|{{{proj|}}}}}}<!--              The user or project name.
                         -->/{{{repo|}}}<!--                        The repository name.
                         -->/{{{repo|}}}<!--                        The repository name.
Line 306: Line 306:
                     | {{#if: {{{simplepath|}}}
                     | {{#if: {{{simplepath|}}}
                         | <!--                                    No project, repository or branch. -->
                         | <!--                                    No project, repository or branch. -->
                         | gitlab/<!--                             Site advertising.
                         | gitlab.com/<!--                         Site advertising.
                         -->{{{user|{{{proj|}}}}}}/<!--              The user or project name.
                         -->{{{user|{{{proj|}}}}}}/<!--              The user or project name.
                         -->{{{repo|}}}/<!--                        The repository name.
                         -->{{{repo|}}}/<!--                        The repository name.
Line 394: Line 394:
                     | {{#if: {{{simplepath|}}}
                     | {{#if: {{{simplepath|}}}
                         | <!--                                    No project, repository or branch. -->
                         | <!--                                    No project, repository or branch. -->
                         | gitorious/<!--                           Site advertising.
                         | gitoriousIsNowClosed/<!--               Site advertising.
                         -->{{{proj|}}}/<!--                        The project name.
                         -->{{{proj|}}}/<!--                        The project name.
                         -->{{{repo|}}}/<!--                        The repository name.
                         -->{{{repo|}}}/<!--                        The repository name.
476

edits

Navigation menu