@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

-44
-1
src/applications/project/application/PhabricatorProjectApplication.php
··· 87 87 'history/(?P<id>[1-9]\d*)/' => 'PhabricatorProjectHistoryController', 88 88 '(?P<action>watch|unwatch)/(?P<id>[1-9]\d*)/' 89 89 => 'PhabricatorProjectWatchController', 90 - 'wiki/' => 'PhabricatorProjectWikiExplainController', 91 90 ), 92 91 '/tag/' => array( 93 92 '(?P<slug>[^/]+)/' => 'PhabricatorProjectViewController',
-12
src/applications/project/controller/PhabricatorProjectProfileController.php
··· 204 204 } 205 205 } 206 206 207 - $have_phriction = PhabricatorApplication::isClassInstalledForViewer( 208 - 'PhabricatorPhrictionApplication', 209 - $viewer); 210 - if ($have_phriction) { 211 - $view->addAction( 212 - id(new PhabricatorActionView()) 213 - ->setIcon('fa-book grey') 214 - ->setName(pht('View Wiki')) 215 - ->setWorkflow(true) 216 - ->setHref('/project/wiki/')); 217 - } 218 - 219 207 return $view; 220 208 } 221 209
-31
src/applications/project/controller/PhabricatorProjectWikiExplainController.php
··· 1 - <?php 2 - 3 - final class PhabricatorProjectWikiExplainController 4 - extends PhabricatorProjectController { 5 - 6 - public function handleRequest(AphrontRequest $request) { 7 - return $this->newDialog() 8 - ->setTitle(pht('Wikis Have Changed')) 9 - ->appendParagraph( 10 - pht( 11 - 'Wiki pages in Phriction have been upgraded to have more powerful '. 12 - 'support for policies and access control. Each page can now have '. 13 - 'its own policies.')) 14 - ->appendParagraph( 15 - pht( 16 - 'This change obsoletes dedicated project wiki pages and '. 17 - 'resolves a number of issues they had: you can now have '. 18 - 'multiple wiki pages for a project, put them anywhere, give '. 19 - 'them custom access controls, and rename them (or the project) '. 20 - 'more easily and with fewer issues.')) 21 - ->appendParagraph( 22 - pht( 23 - 'If you want to point users of this project to specific wiki '. 24 - 'pages with relevant documentation or information, edit the project '. 25 - 'description and add links. You can use the %s syntax to link to a '. 26 - 'wiki page.', 27 - phutil_tag('tt', array(), '[[ example/page/ ]]'))) 28 - ->addCancelButton('/', pht('Okay')); 29 - } 30 - 31 - }