Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2647 closed enhancement (fixed)

links to blog comments

Reported by: alesh.slovak@… Owned by: Odd Simon Simonsen
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It would be nice to be able to link to blog comments in the same way as ticket comments: i.e.

[comment:blog:my_blog_entry:2]

For comment 2 of my_blog_entry

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Odd Simon Simonsen

Yes it would. comment is owned by the ticket system though, and it only wants to link to tickets.

We'll see what the future brings. No promises :-)

comment:2 Changed 10 years ago by alesh.slovak@…

Is there no other way to link to blog comments?

What about:

[blog:my_blog_entry#comment-2]

That's the first thing I tried, but it didn't work.

comment:3 Changed 10 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(In [3283]) FullBlogPlugin: Improve the wiki link provider to also handle links to comments.

[blog:the_post#comment-1] and [blog:#comment-1] (same page) now works as expected. Can't use the regular [comment:...] syntax as that gets hijacked by the Ticket system.

Closes #2647

comment:4 in reply to:  2 Changed 10 years ago by Odd Simon Simonsen

Replying to alesh.slovak@avasys.jp:

[blog:my_blog_entry#comment-2]

That's the first thing I tried, but it didn't work.

It was the first alternative approach I tried as well, and it is the natural way as you can basically copy the relevant portion from the url location - page and anchor.

Thanks for the suggestion. Enjoy!

comment:5 Changed 10 years ago by Odd Simon Simonsen

(In [3284]) FullBlogPlugin: Bug - follow-up to [3283]. Of course the link won't always consist of two segments.

References #2647

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.