Template talk:Git file/Archive 1

Latest comment: 8 years ago by Ciencia Al Poder in topic Could switch to differential links...

Could switch to differential links...

Summary: This is done

{{git file |project=mediawiki/extensions/examples|file=BoilerPlate/README}} generates a link to git.wikimedia.org which runs gitblit. This replaced gitweb, but neither is much loved. Instead many developers link to the mirror on the proprietary GitHub service, e.g.

Meanwhile, we have Phabricator's differential module,

The difficulty in using the latter is the "callsign", in this example it's EXAM. Deriving Wikimedia callsigns from project=mediawiki/extensions/examples is non-trivial ParserFunctions programming, or a Lua module.

Anyway, git.wikimedia.org is working again so no great rush to do this.

-- SPage (WMF) (talk) 03:27, 27 March 2015 (UTC)Reply

Negative24 came up with {{Phab file }}, almost a drop-in replacement! Example at User:Negative24/sandbox

https://phabricator.wikimedia.org/r/p/mediawiki/core;tree/master/languages/i18n , the URL generated by {{git file |file=languages/i18n |action=tree}} at Localisation file format, doesn't work: it redirects to https://phabricator.wikimedia.org/diffusion/MW/ . Nemo 06:52, 21 September 2016 (UTC)Reply

  Fixed, action=tree is not supported by phabricator. Just ignoring that parameter works fine. --Ciencia Al Poder (talk) 09:02, 21 September 2016 (UTC)Reply
Return to "Git file/Archive 1" page.