Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorCoreConfigOptions.php
| Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | return array( | ||||
| pht('Allows you to remove levity and jokes from the UI.')) | pht('Allows you to remove levity and jokes from the UI.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'By default, Phabricator includes some flavor text in the UI, '. | 'By default, Phabricator includes some flavor text in the UI, '. | ||||
| 'like a prompt to "Weigh In" rather than "Add Comment" in '. | 'like a prompt to "Weigh In" rather than "Add Comment" in '. | ||||
| 'Maniphest. If you\'d prefer more traditional UI strings like '. | 'Maniphest. If you\'d prefer more traditional UI strings like '. | ||||
| '"Add Comment", you can set this flag to disable most of the '. | '"Add Comment", you can set this flag to disable most of the '. | ||||
| 'extra flavor.')), | 'extra flavor.')), | ||||
| $this->newOption('remarkup.ignored-object-names', 'string', '/^(Q|V)\d$/') | $this->newOption( | ||||
| 'remarkup.ignored-object-names', | |||||
| 'string', | |||||
| // Q1, Q2, etc., are common abbreviations for "Quarter". | |||||
| // V1, V2, etc., are common abbreviations for "Version". | |||||
| // P1, P2, etc., are common abbreviations for "Priority". | |||||
| // M1 is a computer chip manufactured by Apple. | |||||
| // M2 (commonly spelled "M.2") is an expansion slot on motherboards. | |||||
| // M4 is a carbine. | |||||
| // M8 is a phonetic spelling of "mate", used in culturally significant | |||||
| // copypasta about navy seals. | |||||
| '/^(Q|V|M|P)\d$/') | |||||
| ->setSummary( | ->setSummary( | ||||
| pht('Text values that match this regex and are also object names '. | pht('Text values that match this regex and are also object names '. | ||||
| 'will not be linked.')) | 'will not be linked.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'By default, Phabricator links object names in Remarkup fields '. | 'By default, Phabricator links object names in Remarkup fields '. | ||||
| 'to the corresponding object. This regex can be used to modify '. | 'to the corresponding object. This regex can be used to modify '. | ||||
| 'this behavior; object names that match this regex will not be '. | 'this behavior; object names that match this regex will not be '. | ||||
| ▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines | |||||