User::getNewMessageLinks returns an array, which includes a Revision if the user has a new message
None of the known callers outside of core actually use the Revision that is returned; I would suggest making a breaking change to simply return RevisionRecord objects instead
Alternatively, this may make sense to move to the TalkPageNotificationManager, but it relies on WikiMap::getCurrentWikiId() which would force the service to only apply to a specific wiki. Perhaps move it to the service, with the User and the wikiid being parameters?