Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/165923
Change subject: gerrit - add 'phab' short link to phabricator
......................................................................
gerrit - add 'phab' short link to phabricator
like the "bug" and "rt" and other links
from gerrit commit messages, also allow phabricator
links
Change-Id: Id71ec51153068790ac12ea5e86244b48897b628a
---
M templates/gerrit/gerrit.config.erb
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/23/165923/1
diff --git a/templates/gerrit/gerrit.config.erb
b/templates/gerrit/gerrit.config.erb
index 3444f48..819ff72 100644
--- a/templates/gerrit/gerrit.config.erb
+++ b/templates/gerrit/gerrit.config.erb
@@ -79,6 +79,9 @@
match = "\\b[bB][uU][gG]\\:?\\s+#?(\\d+)\\b"
link = https://bugzilla.wikimedia.org/$1
association = OPTIONAL
+[commentlink "phab" ]
+ match = "\\b[pP][hH][aA][bB]\\:?\\s+#?(\\d+)\\b"
+ link = https://phabricator.wikimedia.org/T$1
[commentlink "codereview"]
match = \\br(\\d+)\\b
link = https://www.mediawiki.org/wiki/Special:CodeReview/MediaWiki/$1
--
To view, visit https://gerrit.wikimedia.org/r/165923
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id71ec51153068790ac12ea5e86244b48897b628a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits