When a mention is made in a comment on a node with multiple comment pages, the "view mention" link does not work properly. This was a traditional bug in Drupal which was fixed for tracker and forum modules in the latest versions.
I suggest taking a look at the code in this modules for the "XX new comments" link, where the destination page (?page=x) is calculated.
Comments
Comment #1
EnekoAlonso-1 commentedThis is the function from the API that forum and tracker use:
http://api.drupal.org/api/function/comment_new_page_count/6
Mentions should do something similar, but calculating in which page is the comment with the mention instead of where the first "new" comment is.
Comment #2
decipheredWhile there is no further work planned for Drupal 6, I am moving this issue to Drupal 7 to ensure it is not an issue their.
Comment #3
ivnishComment #4
ivnishIs this actually in the 7.x-1.x branch?
Comment #5
ivnishComment #6
ivnish