mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Remove wiki move explanation in projects
Summary: I assume we've shown this long enough, plus with redesign it's a good time to remove. Test Plan: reload page, no link Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11394
This commit is contained in:
parent
c44858f11b
commit
b711407b17
3 changed files with 0 additions and 44 deletions
|
@ -87,7 +87,6 @@ final class PhabricatorProjectApplication extends PhabricatorApplication {
|
|||
'history/(?P<id>[1-9]\d*)/' => 'PhabricatorProjectHistoryController',
|
||||
'(?P<action>watch|unwatch)/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorProjectWatchController',
|
||||
'wiki/' => 'PhabricatorProjectWikiExplainController',
|
||||
),
|
||||
'/tag/' => array(
|
||||
'(?P<slug>[^/]+)/' => 'PhabricatorProjectViewController',
|
||||
|
|
|
@ -204,18 +204,6 @@ final class PhabricatorProjectProfileController
|
|||
}
|
||||
}
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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'));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue