Differential D21770 Diff 51891 src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | $status_defaults = array( | ||||
), | ), | ||||
'suffixes' => array( | 'suffixes' => array( | ||||
'out of spite', | 'out of spite', | ||||
'as spite', | 'as spite', | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
$status_description = $this->deformat(pht(<<<EOTEXT | $status_description = $this->deformat(pht(<<<EOTEXT | ||||
Lint: Use of Product Name Literal: Avoid use of product name literals in "pht()": use generic language or an appropriate method… | |||||
Allows you to edit, add, or remove the task statuses available in Maniphest, | Allows you to edit, add, or remove the task statuses available in Maniphest, | ||||
like "Open", "Resolved" and "Invalid". The configuration should contain a map | like "Open", "Resolved" and "Invalid". The configuration should contain a map | ||||
of status constants to status specifications (see defaults below for examples). | of status constants to status specifications (see defaults below for examples). | ||||
The constant for each status should be 1-12 characters long and contain only | The constant for each status should be 1-12 characters long and contain only | ||||
lowercase letters and digits. Valid examples are "open", "closed", and | lowercase letters and digits. Valid examples are "open", "closed", and | ||||
"invalid". Users will not normally see these values. | "invalid". Users will not normally see these values. | ||||
▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | The keys you can provide in a specification are: | ||||
- `locked` //Optional string.// Lock tasks in this status. Specify "comments" | - `locked` //Optional string.// Lock tasks in this status. Specify "comments" | ||||
to lock comments (users who can edit the task may override this lock). | to lock comments (users who can edit the task may override this lock). | ||||
Specify "edits" to prevent anyone except the task owner from making edits. | Specify "edits" to prevent anyone except the task owner from making edits. | ||||
- `mfa` //Optional bool.// Require all edits to this task to be signed with | - `mfa` //Optional bool.// Require all edits to this task to be signed with | ||||
multi-factor authentication. | multi-factor authentication. | ||||
Statuses will appear in the UI in the order specified. Note the status marked | Statuses will appear in the UI in the order specified. Note the status marked | ||||
`special` as `duplicate` is not settable directly and will not appear in UI | `special` as `duplicate` is not settable directly and will not appear in UI | ||||
elements, and that any status marked `silly` does not appear if Phabricator | elements, and that any status marked `silly` does not appear if the software | ||||
is configured with `phabricator.serious-business` set to true. | is configured with `phabricator.serious-business` set to true. | ||||
Examining the default configuration and examples below will probably be helpful | Examining the default configuration and examples below will probably be helpful | ||||
in understanding these options. | in understanding these options. | ||||
EOTEXT | EOTEXT | ||||
)); | )); | ||||
▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines |
Avoid use of product name literals in "pht()": use generic language or an appropriate method from the "PlatformSymbols" class instead so the software can be forked. String uses names: phabricator.