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

Provide the document content as a context object when rendering Phriction documents

Summary: Ref T13077. The context object wasn't being passed into the engine properly here, affecting relative link rendering in Phriction.

Test Plan: Viewed rendered Phriction documents with relative links, got clean renders.

Maniphest Tasks: T13077

Differential Revision: https://secure.phabricator.com/D19115

+1
+1
src/applications/phriction/storage/PhrictionContent.php
··· 54 54 55 55 public function newRemarkupView(PhabricatorUser $viewer) { 56 56 return id(new PHUIRemarkupView($viewer, $this->getContent())) 57 + ->setContextObject($this) 57 58 ->setRemarkupOption(PHUIRemarkupView::OPTION_GENERATE_TOC, true) 58 59 ->setGenerateTableOfContents(true); 59 60 }