Template:Rev: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(revert previous; don't display link when empty parameter)
m (+Documentation placeholder)
Line 3: Line 3:
|  
|  
}}<noinclude>
}}<noinclude>
{{Documentation}}
[[Category:Formatting and function templates]]
[[Category:Formatting and function templates]]
</noinclude>
</noinclude>

Revision as of 14:05, 4 October 2015

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