Clicking an internal link with slug only and no topic ID should create a history entry

AI-generated summary

The discussion is about clicking internal links with a slug only and no topic ID, which doesn’t create a history entry. supermathie shared an example of this behavior and suggested it could be useful for situations where the topic name/slug is kept but the actual topic is cycled, such as megatopics. codinghorror argued that this is not a good practice and the behavior is a consequence of constructing an invalid link. supermathie countered that it could be useful and the correct solution would be to use a permalink, which requires admin access. codinghorror questioned the usefulness of this approach, citing megatopic guidelines. supermathie emphasized that regardless of the reason, the behavior is broken and should be fixed. riking suggested a user suggestion form for generating review items for permalinks, which was previously brainstormed. codinghorror agreed to fix the issue if it’s an easy solution. dan announced that the problem is no longer an issue due to a GitHub pull request.

For example, if you click this link:

https://meta.discourse.org/t/discourse-math-plugin

and then click Back in your browser, you get taken to the page you were at before this one.

6 Likes

We reeeeeeeeeeeeeeeeeally should not be encouraging the construction of invalid links. So in my opinion, the bad behavior you’re seeing here is a kind of deserved punishment for constructing a badly-formed link :wink:

3 Likes

I hear that, the reason why it might be useful is for situations when you might want to keep the topic name/slug and link to it but cycle the actual topic.

e.g. megatopics - close/rename the old, open a new at the same slug, you don’t need to change things linking to it.[1]

The case where I did this was sort of similar… but now can’t remember what exactly it was.


  1. I suppose the correct solution here is to use a permalink, but that requires admin access rather than using the naïve approach as I’ve done above ↩︎

4 Likes

I read this post twice and I’m still not following why this would be useful / necessary?

Megatopics when split should have different titles, per The MEGATOPIC: public good, or public menace?

3 Likes

right and you would

that’s intended to be an “and”


of course, regardless of reason:

  • is it broken?
  • if so we should fix it
3 Likes

A user suggestion form to generate review items for permalinks, for admins to one click approve, under the /go/ namespace was part of the brainstorming in Feature interest survey: "go" permalinks.

3 Likes

If it is an easy fix, sure. If it is a hard fix.. no.

4 Likes

This is no longer a problem since:

https://github.com/discourse/discourse/pull/13367

2 Likes