@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rebrand: Add "path" entries to PlatformSymbols

Summary: Ref T15006. Change a few places that were mentioning `phabricator` path.

Test Plan: Mk1 eyeball on each effected page.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15006

Differential Revision: https://we.phorge.it/D25343

+14 -7
+2 -1
src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
··· 171 171 phutil_tag( 172 172 'tt', 173 173 array(), 174 - "phabricator/ $ ./bin/phd log --id {$id}")); 174 + PlatformSymbols::getPlatformServerPath(). 175 + " $ ./bin/phd log --id {$id}")); 175 176 176 177 177 178 return $view;
+2 -1
src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php
··· 28 28 'the command line:')) 29 29 ->appendCommand( 30 30 csprintf( 31 - 'phabricator/ $ ./bin/remove destroy %R', 31 + '%s $ ./bin/remove destroy %R', 32 + PlatformSymbols::getPlatformServerPath(), 32 33 $repository->getMonogram())) 33 34 ->appendParagraph( 34 35 pht(
+4 -3
src/applications/metamta/PhabricatorMetaMTAWorker.php
··· 45 45 public function renderForDisplay(PhabricatorUser $viewer) { 46 46 return phutil_tag( 47 47 'pre', 48 - array( 49 - ), 50 - 'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData()); 48 + array(), 49 + PlatformSymbols::getPlatformServerPath(). 50 + ' $ ./bin/mail show-outbound --id '. 51 + $this->getTaskData()); 51 52 } 52 53 53 54 }
+4
src/applications/repository/query/PhabricatorRepositoryQuery.php
··· 62 62 $slugs = array(); 63 63 64 64 foreach ($identifiers as $identifier) { 65 + if ($identifier === null) { 66 + continue; 67 + } 68 + 65 69 if (ctype_digit((string)$identifier)) { 66 70 $ids[$identifier] = $identifier; 67 71 continue;
+2 -2
src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
··· 68 68 'platform' => array( 69 69 'server' => array( 70 70 'name' => PlatformSymbols::getPlatformServerName(), 71 - 'path' => pht('phabricator/'), 71 + 'path' => PlatformSymbols::getPlatformServerPath(), 72 72 ), 73 73 'client' => array( 74 74 'name' => PlatformSymbols::getPlatformClientName(), 75 - 'path' => pht('arcanist/'), 75 + 'path' => PlatformSymbols::getPlatformClientPath(), 76 76 ), 77 77 ), 78 78 ),