1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-26 11:10:16 +01:00
phorge-phorge/src/applications/project/controller/PhabricatorProjectWikiExplainController.php
epriestley 0d47b8af26 Add a dialog explaining what happened to wiki pages
Summary: Ayep.

Test Plan: {F233319}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D10845
2014-11-13 07:55:45 -08:00

31 lines
1.2 KiB
PHP

<?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'));
}
}