Difference between revisions 1665697 and 1665708 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. (below copied from [[Template:Git file/doc]]) (contracted; show full); project summary page <nowiki>{{phab file</nowiki> |project=mediawiki/extensions/agora |action=summary |text=Agora extension}} produces :{{phab file |project=mediawiki/extensions/Agora |action=summary |text=Agora extension}} ''See also {{tl|gitblit}}'' === more tests === While developing this template: ; Unimplemented project: <nowiki>{{phab file</nowiki> |project=mediawiki/extensions/NotMapped |file=Test.php }} produces {{phab file |project=mediawiki/extensions/NotMapped |file=Test.php }}⏎ ⏎ === Parameters === ; project : defaults to mediawiki/core. Must be entire path to project — e.g. mediawiki/extensions/EventLogging, not "EventLogging" and without any <tt>.git</tt> suffix. ; branch : defaults to HEAD. ; file (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> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://mediawiki.org/w/index.php?diff=prev&oldid=1665708.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|