Just want clarify that I meant the relative numbers should be used in the
database, not in UI. There is nothing that prevents using the current
comment:3-form in the user interface while referencing one comment to
another using a relative number in the database.

/Philip

> On Mon, 2006-06-26 at 15:39 +0200, [EMAIL PROTECTED] wrote:
> The comment numbers are not just used in the database, they may also be
> used in comments to link to other comments e.g. "see comment:1 and
> comment:2".  Using relative numbers in the comment links would probably
> be confusing for users.  And you can't use relative numbers in the
> anchor links (the ¶ link next to the author's name).  Additionally,
> comments could be deleted (using the TicketDeletePlugin on
> trac-hacks.org or similar functionality included in a future version),
> which would break relative numberings.
>
> So, relative numbers would cause a variety of problems.  Unique numbers
> could work, but they would be rather inconvenient for use in links: "See
> comment:3757593".
>
> So, the question is: why do you need to add comments to the top or
> bottom of a ticket?  Maybe there's a better way to accomplish your goal
> without breaking the comment numbering.
>
> --
> Matthew Good <[EMAIL PROTECTED]>
>
> _______________________________________________
> Trac-dev mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac-dev
>
>

_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to