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

Fix an exception when viewing Phriction diffs.

Summary:
D4117 (which is otherwise awesome :)) requires you to `setMarkupEngine()` and
Phriction's diff rendering wasn't changed to call that with a
`PhabricatorMarkupEngine`.

Test Plan: Went to a Phriction diff page and saw it render correctly.

Reviewers: epriestley, btrahan, vrana

Reviewed By: epriestley

CC: aran, Korvin

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

authored by

Ricky Elrod and committed by
epriestley
d704bf3a a8b84a26

+5
+5
src/applications/phriction/controller/PhrictionDiffController.php
··· 71 71 $parser->setRenderingReference("{$l},{$r}"); 72 72 $parser->setWhitespaceMode($whitespace_mode); 73 73 74 + $engine = new PhabricatorMarkupEngine(); 75 + $engine->setViewer($user); 76 + $engine->process(); 77 + $parser->setMarkupEngine($engine); 78 + 74 79 $spec = $request->getStr('range'); 75 80 list($range_s, $range_e, $mask) = 76 81 DifferentialChangesetParser::parseRangeSpecification($spec);