diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php index ac21febabc..49c18af813 100644 --- a/src/applications/project/controller/PhabricatorProjectProfileController.php +++ b/src/applications/project/controller/PhabricatorProjectProfileController.php @@ -261,12 +261,17 @@ final class PhabricatorProjectProfileController } } - $view->addAction( - id(new PhabricatorActionView()) - ->setIcon('fa-book grey') - ->setName(pht('View Wiki')) - ->setWorkflow(true) - ->setHref('/project/wiki/')); + $have_phriction = PhabricatorApplication::isClassInstalledForViewer( + 'PhabricatorPhrictionApplication', + $viewer); + if ($have_phriction) { + $view->addAction( + id(new PhabricatorActionView()) + ->setIcon('fa-book grey') + ->setName(pht('View Wiki')) + ->setWorkflow(true) + ->setHref('/project/wiki/')); + } return $view; }