Page MenuHomePhabricator

Links to comments on old page revisions go to the current version
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to an old revision of a talk page, say here
  • Click on the timestamp of a comment

What happens?:

  • It takes you to the link for the current revision of the page (e.g. this), rather than staying at the old revision (e.g. this)

What should have happened instead?:

  • It should have linked to the comment at the old revision.

Other information (browser name/version, screenshots, etc.):

In my use case, I was looking to link to a comment someone made when awarding them a Barnstar. I wanted that link to keep working even after the comment gets archived, and since T302011#8083197 does not appear to have been addressed yet (is there a dedicated ticket for that?), I figured I'd use a permalink on an old revision. However, when I tried to do so, I had the appearance described above (and worse, there was no immediate indication of what happened, so it took me a minute to figure it out). I was able to work around it by copying the URL portions I wanted and splicing them together, but other users shouldn't have to do this to get the expected behavior.

Event Timeline

I don’t see timestamp links on the said page. Whatever gadget/user script/whatever you use to create them, it’s probably its fault, not DiscussionTools’.

Aklapper removed a project: TPP-Scaling.

[Please review project tags when creating subtasks - thanks!]
Closing this task per previous comment. User scripts, gadgets, templates, custom CSS are local on-wiki content. Local content is managed independently on each wiki, by each wiki community themselves. Phabricator is mostly used for MediaWiki, MediaWiki extensions, or server configuration, or by developers and teams to organize what they plan to work on. This needs fixing on the local wiki. Hence I am closing this task here - thanks for your understanding!

since T302011#8083197 does not appear to have been addressed yet (is there a dedicated ticket for that?)

We're in the process of releasing that feature: see T315353 and T315510. It's available on some projects already, but not English Wikipedia yet. You can try it out e.g. at https://www.wikidata.org/wiki/Special:FindComment (paste the ID starting with c-).

It's been a slow-going project, because providing this functionality for old comments in a scalable way requires building a "search index", which takes a few days on large wikis (and will probably take over a month for English Wikipedia), but it will get there eventually.

@Aklapper , sorry if there was any miscategorization. My understanding was that @Esanders' script represents the prototype version of a feature that will be rolled out as part of the talk pages project, which is why I categorized it here. Ed, feel free to forward/adjust the task so that it reaches wherever it needs to.