You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Git: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
No edit summary
 
imported>Gergő Tisza
(does the exact same thing as gerrit, just in a more stupid way (+apparently not maintained anymore, used a link format that only worked on older Gerrit installs))
 
Line 1: Line 1:
<span class=plainlinks>[//gerrit.wikimedia.org/r/#q,{{urlencode:{{{1|example}}}}},n,z <!--
#REDIRECT [[Template:Gerrit]]
 
Shorten hashes to 7 characters for display.
Needs the strlen check first because str_sub will repeat otherwise.
 
-->{{#ifexpr: {{Strlen|{{{1|example}}}}} > 7
| git #{{Str sub old|{{{1|example}}}|0|7}}
| git #{{{1|example}}}
}}]</span><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 16:44, 20 July 2018

Redirect to: