@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.

Provide a hint about how to quote search terms containing literal colons

Summary: See <https://phabricator.wikimedia.org/T243483>. Provide a more direct path forward if users hit the "unknown function" error but are trying to search for a term with a colon in it.

Test Plan:
{F7414068}

{F7414067}

Differential Revision: https://secure.phabricator.com/D21209

+3 -1
+3 -1
src/applications/search/ferret/PhabricatorFerretEngine.php
··· 34 34 if (!isset($this->ferretFunctions[$normalized_name])) { 35 35 throw new PhutilSearchQueryCompilerSyntaxException( 36 36 pht( 37 - 'Unknown search function "%s". Supported functions are: %s.', 37 + 'Unknown search function "%s". Supported functions are: %s. '. 38 + '(To search for a term containing a colon, surround the term '. 39 + 'in double quotes.)', 38 40 $raw_name, 39 41 implode(', ', array_keys($this->ferretFunctions)))); 40 42 }