summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-13 03:19:57 +0200
committerlpsolit%gmail.com <>2005-04-13 03:19:57 +0200
commit703a821f34f126ad281ef60e4ff3ec1b237a7798 (patch)
tree4d8572e137e3371efbc48f2439cc36a1004bc427 /template/en/default/global
parent93238a6795e1d2264648ca0c665e3709a46b81b2 (diff)
downloadbugzilla-703a821f34f126ad281ef60e4ff3ec1b237a7798.tar.gz
bugzilla-703a821f34f126ad281ef60e4ff3ec1b237a7798.tar.xz
Bug 289618: reference globals.pl's quoteUrls function for changing bug term - Patch by Peter Kay <peterkayatwork@yahoo.com> r=wurblzap a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/variables.none.tmpl13
1 files changed, 13 insertions, 0 deletions
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",