githaven/docs/content/doc/advanced
Ondřej Čertík 8720f876c7
Make WIP prefixes case insensitive, e.g. allow Draft as a WIP prefix (#19780)
The issue was that only the actual title was converted to uppercase, but
not the prefix as specified in `WORK_IN_PROGRESS_PREFIXES`. As a result,
the following did not work:

    WORK_IN_PROGRESS_PREFIXES=Draft:,[Draft],WIP:,[WIP]

One possible workaround was:

    WORK_IN_PROGRESS_PREFIXES=DRAFT:,[DRAFT],WIP:,[WIP]

Then indeed one could use `Draft` (as well as `DRAFT`) in the title.
However, the link `Start the title with DRAFT: to prevent the pull request
from being merged accidentally.` showed the suggestion in uppercase; so
it is not possible to show it as `Draft`. This PR fixes it, and allows
to use `Draft` in `WORK_IN_PROGRESS_PREFIXES`.

Fixes #19779.

Co-authored-by: zeripath <art27@cantab.net>
2022-05-26 10:19:24 +01:00
..
adding-legal-pages.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
clone-filter.en-us.md Enable partial clone by default (#18195) 2022-01-06 06:38:38 +01:00
cmd-embedded.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
config-cheat-sheet.en-us.md Make WIP prefixes case insensitive, e.g. allow Draft as a WIP prefix (#19780) 2022-05-26 10:19:24 +01:00
config-cheat-sheet.zh-cn.md Update documentation to disable duration settings with -1 instead of 0 (#19647) 2022-05-09 18:33:19 +02:00
customizing-gitea.en-us.md Add the possibility to allow the user to have a favicon which differs from the main logo (#18542) 2022-05-23 23:54:48 +08:00
customizing-gitea.zh-cn.md Update documentation to reflect #15219 (#16442) 2021-07-15 20:49:12 +01:00
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
external-renderers.en-us.md Add example to render html files (#18736) 2022-02-14 21:56:17 +08:00
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Add ENABLE_SSH_LOG to debugging problems (#19316) 2022-04-05 16:41:56 -04:00
mail-templates-us.md Doc: Mail-Tempales: Fix AppUrl function name (#16939) 2021-09-03 12:49:42 +01:00
make.fr-fr.md docs: fix various typos and translate to french (#16477) 2021-07-18 12:21:32 -04:00
make.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
protected-tags.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
repo-indexer.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
repo-mirror.en-us.md Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
search-engines-indexation.en-us.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
signing.en-us.md Fix various typos of software names (#18083) 2021-12-24 11:56:57 +08:00
third-party-tools.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00