Skip to content

Commit ad0052f

Browse files
committed
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
1 parent 7c58ea1 commit ad0052f

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

src/applications/daemon/controller/PhabricatorDaemonLogViewController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ private function buildPropertyListView(PhabricatorDaemonLog $daemon) {
171171
phutil_tag(
172172
'tt',
173173
array(),
174-
"phabricator/ $ ./bin/phd log --id {$id}"));
174+
PlatformSymbols::getPlatformServerPath().
175+
" $ ./bin/phd log --id {$id}"));
175176

176177

177178
return $view;

src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public function handleRequest(AphrontRequest $request) {
2828
'the command line:'))
2929
->appendCommand(
3030
csprintf(
31-
'phabricator/ $ ./bin/remove destroy %R',
31+
'%s $ ./bin/remove destroy %R',
32+
PlatformSymbols::getPlatformServerPath(),
3233
$repository->getMonogram()))
3334
->appendParagraph(
3435
pht(

src/applications/metamta/PhabricatorMetaMTAWorker.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ private function loadMessage() {
4545
public function renderForDisplay(PhabricatorUser $viewer) {
4646
return phutil_tag(
4747
'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());
5152
}
5253

5354
}

src/applications/repository/query/PhabricatorRepositoryQuery.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public function withIdentifiers(array $identifiers) {
6262
$slugs = array();
6363

6464
foreach ($identifiers as $identifier) {
65+
if ($identifier === null) {
66+
continue;
67+
}
68+
6569
if (ctype_digit((string)$identifier)) {
6670
$ids[$identifier] = $identifier;
6771
continue;

src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ private function evaluateExpression($expression) {
6868
'platform' => array(
6969
'server' => array(
7070
'name' => PlatformSymbols::getPlatformServerName(),
71-
'path' => pht('phabricator/'),
71+
'path' => PlatformSymbols::getPlatformServerPath(),
7272
),
7373
'client' => array(
7474
'name' => PlatformSymbols::getPlatformClientName(),
75-
'path' => pht('arcanist/'),
75+
'path' => PlatformSymbols::getPlatformClientPath(),
7676
),
7777
),
7878
),

0 commit comments

Comments
 (0)