diff --git a/src/applications/search/engine/PhabricatorJumpNavHandler.php b/src/applications/search/engine/PhabricatorJumpNavHandler.php index e965620d1c..53e92b6e58 100644 --- a/src/applications/search/engine/PhabricatorJumpNavHandler.php +++ b/src/applications/search/engine/PhabricatorJumpNavHandler.php @@ -4,22 +4,20 @@ final class PhabricatorJumpNavHandler { public static function getJumpResponse(PhabricatorUser $viewer, $jump) { $jump = trim($jump); - $help_href = PhabricatorEnv::getDocLink('Jump Nav User Guide'); $patterns = array( - '/^help/i' => 'exturi:'.$help_href, - '/^a$/i' => 'uri:/audit/', - '/^f$/i' => 'uri:/feed/', - '/^d$/i' => 'uri:/differential/', - '/^r$/i' => 'uri:/diffusion/', - '/^t$/i' => 'uri:/maniphest/', - '/^p$/i' => 'uri:/project/', - '/^u$/i' => 'uri:/people/', - '/^p\s+(.+)$/i' => 'project', - '/^u\s+(\S+)$/i' => 'user', - '/^task:\s*(.+)/i' => 'create-task', - '/^(?:s|symbol)\s+(\S+)/i' => 'find-symbol', - '/^r\s+(.+)$/i' => 'find-repository', + '/^a$/i' => 'uri:/audit/', + '/^f$/i' => 'uri:/feed/', + '/^d$/i' => 'uri:/differential/', + '/^r$/i' => 'uri:/diffusion/', + '/^t$/i' => 'uri:/maniphest/', + '/^p$/i' => 'uri:/project/', + '/^u$/i' => 'uri:/people/', + '/^p\s+(.+)$/i' => 'project', + '/^u\s+(\S+)$/i' => 'user', + '/^task:\s*(.+)/i' => 'create-task', + '/^(?:s)\s+(\S+)/i' => 'find-symbol', + '/^r\s+(.+)$/i' => 'find-repository', ); foreach ($patterns as $pattern => $effect) { @@ -28,10 +26,6 @@ final class PhabricatorJumpNavHandler { if (!strncmp($effect, 'uri:', 4)) { return id(new AphrontRedirectResponse()) ->setURI(substr($effect, 4)); - } else if (!strncmp($effect, 'exturi:', 7)) { - return id(new AphrontRedirectResponse()) - ->setURI(substr($effect, 7)) - ->setIsExternal(true); } else { switch ($effect) { case 'user': diff --git a/src/docs/user/userguide/jump.diviner b/src/docs/user/userguide/jump.diviner index f4ae81ecdf..705aa3a457 100644 --- a/src/docs/user/userguide/jump.diviner +++ b/src/docs/user/userguide/jump.diviner @@ -10,7 +10,6 @@ a navigational command into the box and press return. = Supported Commands = - - **help** - Jump to this document. - **T** - Jump to Maniphest. - **T123** - Jump to Maniphest Task 123. - **D** - Jump to Differential.