Template:Rev: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://bugs.miranda-ng.org/changeset/{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]
{{#if: {{{1|}}}
| [https://github.com/miranda-ng/miranda-ng/commit/{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]
|
}}<noinclude>
{{Documentation}}
[[Category:Formatting and function templates]]
</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