Page MenuHomePhabricator

D11394.id27361.diff
No OneTemporary

D11394.id27361.diff

diff --git a/src/applications/project/application/PhabricatorProjectApplication.php b/src/applications/project/application/PhabricatorProjectApplication.php
--- a/src/applications/project/application/PhabricatorProjectApplication.php
+++ b/src/applications/project/application/PhabricatorProjectApplication.php
@@ -87,7 +87,6 @@
'history/(?P<id>[1-9]\d*)/' => 'PhabricatorProjectHistoryController',
'(?P<action>watch|unwatch)/(?P<id>[1-9]\d*)/'
=> 'PhabricatorProjectWatchController',
- 'wiki/' => 'PhabricatorProjectWikiExplainController',
),
'/tag/' => array(
'(?P<slug>[^/]+)/' => 'PhabricatorProjectViewController',
diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php
--- a/src/applications/project/controller/PhabricatorProjectProfileController.php
+++ b/src/applications/project/controller/PhabricatorProjectProfileController.php
@@ -204,18 +204,6 @@
}
}
- $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;
}
diff --git a/src/applications/project/controller/PhabricatorProjectWikiExplainController.php b/src/applications/project/controller/PhabricatorProjectWikiExplainController.php
deleted file mode 100644
--- a/src/applications/project/controller/PhabricatorProjectWikiExplainController.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-final class PhabricatorProjectWikiExplainController
- extends PhabricatorProjectController {
-
- public function handleRequest(AphrontRequest $request) {
- return $this->newDialog()
- ->setTitle(pht('Wikis Have Changed'))
- ->appendParagraph(
- pht(
- 'Wiki pages in Phriction have been upgraded to have more powerful '.
- 'support for policies and access control. Each page can now have '.
- 'its own policies.'))
- ->appendParagraph(
- pht(
- 'This change obsoletes dedicated project wiki pages and '.
- 'resolves a number of issues they had: you can now have '.
- 'multiple wiki pages for a project, put them anywhere, give '.
- 'them custom access controls, and rename them (or the project) '.
- 'more easily and with fewer issues.'))
- ->appendParagraph(
- pht(
- 'If you want to point users of this project to specific wiki '.
- 'pages with relevant documentation or information, edit the project '.
- 'description and add links. You can use the %s syntax to link to a '.
- 'wiki page.',
- phutil_tag('tt', array(), '[[ example/page/ ]]')))
- ->addCancelButton('/', pht('Okay'));
- }
-
-}

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 23, 3:59 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729477
Default Alt Text
D11394.id27361.diff (2 KB)

Event Timeline