Template:Rev/doc: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(initial stub with category)
 
(initial technical info)
 
Line 3: Line 3:
== Usage ==
== 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
<pre>
https://github.com/liufa/Tuplinator/commit/f36e3c5b3aba23a6c9cf7c01e7485028a23c3811
                  \_____/\________/      \_______________________________________/
                  |        |                              |
            Account name    |                      Hash of revision
                        Project name             
</pre>


== See also ==
== See also ==

Latest revision as of 10:44, 11 August 2017

This is a documentation subpage for Template:Rev .
It contains usage information, categories and other content that is not part of the original template page.

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