@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.

Phriction: define an object creation title

Test Plan:
* Create a new phriction document, observe the history
* Apply this patch
* Observe the history again, noting that the word "document" now replaces "object"

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

+8
+8
src/applications/phriction/editor/PhrictionTransactionEditor.php
··· 108 108 return $types; 109 109 } 110 110 111 + public function getCreateObjectTitle($author, $object) { 112 + return pht('%s created this document.', $author); 113 + } 114 + 115 + public function getCreateObjectTitleForFeed($author, $object) { 116 + return pht('%s created %s.', $author, $object); 117 + } 118 + 111 119 protected function expandTransactions( 112 120 PhabricatorLiskDAO $object, 113 121 array $xactions) {