Difference between revisions of "Template:Git file"
Fix action=blame, map it to /browse/path/to/file ?blame=1
>Nemo bis (First step of migration to Phabricator Diffusion, per phabricator:T101358.) |
>SPage (WMF) (Fix action=blame, map it to /browse/path/to/file ?blame=1) |
||
Line 1: | Line 1: | ||
[https://phabricator.wikimedia.org/diffusion/{{#invoke:callsigns|repoToCallsign|{{{project|mediawiki/core}}}}}/{{#if:{{{action|}}} | [https://phabricator.wikimedia.org/diffusion/{{#invoke:callsigns|repoToCallsign|{{{project|mediawiki/core}}}}}/{{#if:{{{action|}}} | ||
|{{#ifeq:{{{action|}}}|raw|browse|{{{action}}}}} | |{{#ifeq:{{{action|}}}|raw|browse|{{#ifeq:{{{action|}}}|blame|browse|{{{action}}}}}}} | ||
|browse | |browse | ||
}}/{{#if:{{{branch|}}} | }}/{{#if:{{{branch|}}} | ||
Line 9: | Line 9: | ||
}}{{#ifeq:{{{action|}}}|raw | }}{{#ifeq:{{{action|}}}|raw | ||
|?view=raw | |?view=raw | ||
| | |||
}}{{#ifeq:{{{action|}}}|blame | |||
|?blame=1 | |||
| | | | ||
}} {{#if:{{{text|}}} | }} {{#if:{{{text|}}} |