Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13997651
D11394.id27362.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D11394.id27362.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 5:31 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729477
Default Alt Text
D11394.id27362.diff (2 KB)
Attached To
Mode
D11394: Remove wiki move explanation in projects
Attached
Detach File
Event Timeline
Log In to Comment