Opened 8 years ago

Last modified 18 months ago

#3810 new enhancement

Support editing comments to blog posts

Reported by: skstrobel Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: rjollos, daily Trac Release: 0.11


TracFullBlogPlugin 0.1 supports editing and deleting blog posts, but only deleting (not editing) comments (according to the author, see I would like to see an "Edit comment" option adjacent to the "Delete comment" option which is displayed in the upper-right corner of the comment box. It could work very much like the "Edit post" button does.

Attachments (0)

Change History (7)

comment:1 Changed 8 years ago by osimons

Blog posts, unlike comments, are actually made to be versioned. Like wiki pages, a new full version is saved on each edit, showing up in timeline and so on (history list and diff between versions are on to-do for when I get the inspiration).

So, if an 'Edit Comment' feature was implemented, it would be an edit by an administrator (BLOG_ADMIN) for whatever reason - reformat wiki text, moderate content and similar. Any edits would replace the old content, and it won't show anywhere like Timeline. Old content would disappear without a trace.

Is that in line with expectations? What is the common use case that you want to support?

(Still not certain I'll do it, but at least I want the specification sorted out before deciding...)

comment:2 Changed 8 years ago by skstrobel

Your proposed implementation is exactly what I had in mind. I think it would provide 80% of the benefit (of fully versioned comments) with (probably) 20% of the work.

As far as permissions go, besides the BLOG_ADMIN it would be nice if the original author of the comment would be able to edit it. I suppose the most flexible method might be to have two sets of permissions: BLOG_EDIT_OWN_COMMENT and BLOG_EDIT_ANY_COMMENT. Or maybe the existing BLOG_MODIFY_OWN and BLOG_MODIFY_ALL could be reused.

Thanks for your time in considering this.

comment:3 Changed 7 years ago by rjollos

  • Cc rjollos added; anonymous removed

comment:4 Changed 7 years ago by skstrobel

The TicketChangePlugin does something very similar to what is requested in this ticket, but for ticket comments rather than for blog comments.

comment:5 Changed 7 years ago by daily

  • Cc daily added

comment:6 Changed 7 years ago by daily

@osimons: Could you tell me what the current state of this feature is? I'm also interested in it.

comment:7 Changed 18 months ago by dkaznadzey@…

Very interested in this feature

Add Comment

Modify Ticket

as new The owner will remain osimons.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.