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

Always install the "icon" and "emoji" remarkup rules

Summary: Ref T10394. Currently, these rules are only active if the Macro application is installed. Instead, install them unconditionally.

Test Plan:
- Used `{icon camera}` with Macro installed and uninstalled.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10394

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

+3 -7
-7
src/applications/macro/application/PhabricatorMacroApplication.php
··· 42 42 ); 43 43 } 44 44 45 - public function getRemarkupRules() { 46 - return array( 47 - new PhabricatorIconRemarkupRule(), 48 - new PhabricatorEmojiRemarkupRule(), 49 - ); 50 - } 51 - 52 45 protected function getCustomCapabilities() { 53 46 return array( 54 47 PhabricatorMacroManageCapability::CAPABILITY => array(
+3
src/infrastructure/markup/PhabricatorMarkupEngine.php
··· 492 492 $rules[] = new PhabricatorYoutubeRemarkupRule(); 493 493 } 494 494 495 + $rules[] = new PhabricatorIconRemarkupRule(); 496 + $rules[] = new PhabricatorEmojiRemarkupRule(); 497 + 495 498 $applications = PhabricatorApplication::getAllInstalledApplications(); 496 499 foreach ($applications as $application) { 497 500 foreach ($application->getRemarkupRules() as $rule) {