Closed Bug 292585 Opened 20 years ago Closed 20 years ago

Generalization of quoteUrls()

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 191362

People

(Reporter: kazhik, Unassigned)

Details

In Bugzilla-jp, "bug-org #bugid" in the comment becomes a link to
bugzilla.mozilla.org.
We directly modified quoteUrls() in globals.pl of bugzilla 2.16.

***********************************
+    while ($text =~ s/\bbug\-org(\s|%\#)*(\d+),?\s*comment\s*(\s|%\#)(\d+)/"##$
count##"/ei) {
+        my $item = $&;
+        my $bugnum = $2;
+        my $comnum = $4;
+        $item = qq{<A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=$bugnu
m">$item</A>};
+        $item =~ s/(id=\d+)/$1#c$comnum/;
+        $things[$count++] = $item;
+    }
***********************************

But we want to generalize this function if possible.

Bugzilla-jp:
http://bugzilla.mozilla.gr.jp/
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of 191362 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.