Difference between revisions 2154530 and 3759601 on mediawikiwiki

{{Documentation subpage}}
{{TNT|Historical|[[Template:Git file]] now uses Diffusion in Phabricator}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->

''Test replacement'' for {{tl|git file}} that links to file in Phabricator's diffusion instead of soon-to-be-deprecated gitblit at git.wikimedia.org ([[phab:T128]]).
<br>
{{tl|git file}} now does this, using [[Module:Callsigns]], so this is '''obsolete'''.

(contracted; show full){{phab file |project=mediawiki/extensions/NotMapped |file=Test.php }}

; other projects
phabricator/tools: {{phab file |project=phabricator/tools |file=README}}

=== Parameters ===
; project
: defaults to mediawiki/core. Must be entire path to project &mdash; e.g. mediawiki/extensions/EventLogging, not "EventLogging" and without any <
ttcode>.git</ttcode> suffix.
; branch
: defaults to HEAD.
; file
: optional. A file or directory within the project, without the leading ''''/'''<nowiki>'</nowiki>.  If you just want to link to the project, use {{tl|gitweb}}. Note to avoid confusion you may want to invoke this template with underscore &mdash; <code><nowiki>{{git</nowiki>'''_'''file | file=''name''}}</code>.
; text
(contracted; show full)* {{tl|MW file}} generates complicated link to file, used by [[Manual]].
* lots of other fancy templates for extensions on gerrit, see [[:Category:Git]].
* {{tl|github}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Git| ]]
}}</includeonly>