Closed Bug 1031959 Opened 10 years ago Closed 10 years ago

Add a_comment-end hook to show bug page

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file)

Attached patch comment-v1.patchSplinter Review
This hook is used by Mozilla's Edit Comments extension, so it would be good to have it in the upstream code. All other eidt comment hooks already exist.
Attachment #8447781 - Flags: review?(gerv)
No longer depends on: 1029354
Comment on attachment 8447781 [details] [diff] [review]
comment-v1.patch

Are you sure the current filename is the right second argument to the Hook.process() call? The docs:
http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/Hook.html
suggest the second argument is a hash of parameters.

Gerv
(In reply to Gervase Markham [:gerv] from comment #1)
> Are you sure the current filename is the right second argument to the
> Hook.process() call? 

Yes.

> The docs:
> http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/Hook.html
> suggest the second argument is a hash of parameters.

The above documentation relates to code Hook. The hook in my patch is a template hook. The documentation of template hooks is at: http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/Template/Plugin/Hook.html
Comment on attachment 8447781 [details] [diff] [review]
comment-v1.patch

r=gerv.

Gerv
Attachment #8447781 - Flags: review?(gerv) → review+
Flags: approval?
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
   171e504..70b1cb4  master -> master
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: approval? → approval+
Resolution: --- → FIXED
Blocks: 540
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: