From 703a821f34f126ad281ef60e4ff3ec1b237a7798 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 13 Apr 2005 01:19:57 +0000 Subject: Bug 289618: reference globals.pl's quoteUrls function for changing bug term - Patch by Peter Kay r=wurblzap a=justdave --- template/en/default/global/variables.none.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/global/variables.none.tmpl b/template/en/default/global/variables.none.tmpl index c75f25988..76ec1bec6 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", -- cgit v1.2.3-24-g4f1b