mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
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
This commit is contained in:
parent
21656f0971
commit
921b5dada1
1 changed files with 0 additions and 4 deletions
|
@ -41,10 +41,6 @@ class PhabricatorMarkupEngine {
|
||||||
|
|
||||||
public static function newPhrictionMarkupEngine() {
|
public static function newPhrictionMarkupEngine() {
|
||||||
return self::newMarkupEngine(array(
|
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,
|
'header.generate-toc' => true,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue