Difference between revisions 1665757 and 1684365 on mediawikiwiki

{{Documentation subpage}}
<!-- 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]]).

Big issue is mapping a gerrit <code>project=</code> path to Phabricator callsign (see discussion at [[phab:T101358]]).

(below copied from [[Template:Git file/doc]])

This generates a link to a file on <ins>https://phabricator.wikimedia.org/diffusion/</ins> <del>https://git.wikimedia.org our Gitblit server</del>.

== Usage ==
; Basic
(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>