diff --git a/web/templates/settings/linkifier_settings_admin.hbs b/web/templates/settings/linkifier_settings_admin.hbs index 0577912ad3..d51d0de9b0 100644 --- a/web/templates/settings/linkifier_settings_admin.hbs +++ b/web/templates/settings/linkifier_settings_admin.hbs @@ -3,40 +3,32 @@
{{#tr}} - Configure regular expression patterns that will be - automatically linkified when used in Zulip message bodies or - topics. For example to automatically linkify commit IDs and - issue numbers (e.g. #123) to the corresponding items in a GitHub - project, you could use the following: + Configure regular expression patterns that will be used to + automatically transform any matching text in Zulip messages + and topics into links. + {{/tr}} +
++ {{#tr}} + Linkifiers make it easy to refer to issues or tickets in + third party issue trackers, like GitHub, Salesforce, Zendesk, + and others. For instance, you can add a linkifier that + automatically turns #2468 into a link to the GitHub issue + in the Zulip repository with: {{/tr}}
#(?P<id>[0-9]+)
- {{t "and" }}
- https://github.com/zulip/zulip/issues/%(id)s
+ {{t "Pattern" }}: #(?P<id>[0-9]+)
(?P<id>[0-9a-f]{40})
- {{t "and" }}
- https://github.com/zulip/zulip/commit/%(id)s
+ {{t "URL format string" }}: https://github.com/zulip/zulip/issues/%(id)s
{{#tr}}
- Or, to automatically linkify GitHub's org/repo#1234
syntax:
- {{/tr}}
-
(?P<org>[a-zA-Z0-9_-]+)/(?P<repo>[a-zA-Z0-9_-]+)#(?P<id>[0-9]+)
- {{t "and" }}
- https://github.com/%(org)s/%(repo)s/issues/%(id)s
-
- {{#tr}}
- More details are available