From: lpsolit%gmail.com <> Date: Wed, 13 Apr 2005 01:23:56 +0000 (+0000) Subject: Bug 289618: reference globals.pl's quoteUrls function for changing bug term - Patch... X-Git-Tag: bugzilla-2.18.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c313dcb90b41256d5b189d94cae2343bd8127a;p=thirdparty%2Fbugzilla.git Bug 289618: reference globals.pl's quoteUrls function for changing bug term - Patch by Peter Kay r=wurblzap a=justdave --- diff --git a/template/en/default/global/variables.none.tmpl b/template/en/default/global/variables.none.tmpl index c75f25988f..76ec1bec6d 100644 --- a/template/en/default/global/variables.none.tmpl +++ b/template/en/default/global/variables.none.tmpl @@ -28,6 +28,19 @@ # Remember to PROCESS rather than INCLUDE this template. #%] +[%# Note on changing terms: + # Changing this will not affect "linkification" of your new terms. + # This means if you change "bug" to "problem", then if you have + # "problem 3" in a comment, it won't become a clickable URL. + # To have that feature, you must edit the quoteUrls function in + # globals.pl (in the base Bugzilla directory). + # Change the line: + # my $bug_re = qr/bug\s*\#?\s*(\d+)/i; + # to something like: + # my $bug_re = qr/(?:bug|problem)\s*\#?\s*(\d+)/i; + # (here "problem" was used instead of bug - substitute as needed!). + #%] + [% terms = { "bug" => "bug", "Bug" => "Bug",