From 921b5dada1c3433379d8d1dfa9d4914dc2408f45 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Wed, 20 Jun 2012 12:06:35 -0700 Subject: [PATCH] Enable image macros on the wiki Summary: D2230 did the heavy lifting spoken of in the comment this diff deletes. Also remove 'macro' => false. Test Plan: Added an image macro to a wiki document and it showed up Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1023 Differential Revision: https://secure.phabricator.com/D2668 --- src/applications/markup/PhabricatorMarkupEngine.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/applications/markup/PhabricatorMarkupEngine.php b/src/applications/markup/PhabricatorMarkupEngine.php index 9e4d30950d..dbc85cc454 100644 --- a/src/applications/markup/PhabricatorMarkupEngine.php +++ b/src/applications/markup/PhabricatorMarkupEngine.php @@ -41,10 +41,6 @@ class PhabricatorMarkupEngine { public static function newPhrictionMarkupEngine() { return self::newMarkupEngine(array( - // Disable image macros on the wiki since they're less useful, we don't - // cache documents, and the module is prohibitively expensive for large - // documents. - 'macros' => false, 'header.generate-toc' => true, )); }