[PATCH] pkg_comments.php: Make comment timestamps link to the comment

Johannes Löthberg johannes at kyriasis.com
Sat Oct 20 13:05:34 UTC 2018


Excerpts from Vladimir Panteleev's message of October 16, 2018 2:26:
> As of today, there is no easy way to obtain a link to a specific
> comment on a package page.
> 
> Many implementations of forums and comment systems today seem to
> follow a convention where a comment's timestamp is an unobtrusive link
> to the comment itself. Some examples are:
> 
> - phpBB (e.g. bbs.archlinux.org)

(Our BBS is FluxBB, not phpBB.)

> - GitHub
> - Disqus
> - Discourse
> 
> This patch adopts this convention as well, by making the comment
> timestamp an unobtrusive link to the comment itself.
> 

Most of what makes those URLs useful is that they link to the actual 
post though, while this is just an anchor to the page you're currently 
on, which means that as soon as it ends up at the next page, the URL is 
broken, so I'm not sure how useful this is in practice?
-- 
Sincerely,
  Johannes Löthberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1727 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-dev/attachments/20181020/0f824b07/attachment.sig>


More information about the aur-dev mailing list