Template:Rev: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
m (+Documentation placeholder)
No edit summary
 
Line 1: Line 1:
{{#if: {{{1|}}}
{{#if: {{{1|}}}
| [http://trac.miranda-ng.org/changeset/{{{1}}}  {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]
| [https://github.com/miranda-ng/miranda-ng/commit/{{{1}}}  {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]
|  
|  
}}<noinclude>
}}<noinclude>

Latest revision as of 20:51, 27 May 2020

Template documentation[view] [edit] [history] [purge]

Usage

Technical info

Shorten hashes to 7 characters for display. Needs the strlen check first because str_sub will repeat otherwise.

Url could be broken down into parts

https://github.com/liufa/Tuplinator/commit/f36e3c5b3aba23a6c9cf7c01e7485028a23c3811
                  \_____/\________/       \_______________________________________/
                   |        |                              |
            Account name    |                      Hash of revision
                        Project name              

See also