It seems i cannot tag usage “.” (dot) in tag. For example: tag “1.2.3”.
Does Discourse support this?
Users are discussing the inability to use periods (“.”) in Discourse tags, such as “1.2.3” or “foo-2.1”, which is problematic for tagging software versions. Lai first reported the issue, and sam confirmed it’s not currently supported due to routing complexities in Ember and Rails. burke revived the thread, noting that while old tags with dots still function, new ones can’t be created — forcing workarounds like “foo-2-2” or “foo-22”. He also suggested using Unicode’s one dot leader (U+2024) as a workaround, but sam cautioned that such hacks may be more fragile and complex than implementing proper support. codinghorror opposed adding the feature, citing disproportionate downsides. Freso added that existing dot-containing tags (e.g., “musicbrainz.org”) are now inaccessible and uneditable, even with URL encoding like %2E, and asked for a workaround — none provided. The consensus remains that supporting dots in tags is technically feasible but not prioritized due to risk and low ROI.
It seems i cannot tag usage “.” (dot) in tag. For example: tag “1.2.3”.
Does Discourse support this?
Not at the moment, we would need some routing changes on both ember and rails to support this. We avoided this change to date.
(apologies for reviving an old thread… but just found myself looking for this feature again)
In our community, we’d love to have this feature so we could tag discussions about specific versions of our software. The inability to put a period in a tag leads users to come up with various workaround.
For example, tagging discussion for “foo 2.2” becomes “foo-22” (will conflict in 20 versions) or “foo-2-2” or “foo-2_2”. It would be great to be able to use the tag “foo-2.1”.
FWIW - We used to be able to have a dot in a tag name. Some of our old tags have them and still seem to work fine (e.g., they show up in tag lists, you can filter on them, etc.). We just can’t create any new tags with dots in the name.
Extra good karma to anyone who can manage to implement this feature in Discourse.
Any chance it’d be the right size for a GSoC 2019 project?
This is not really GSOC sized, a few hours work, maybe a day or 2 max, but it’s very very fiddly work and we would have to be ultra careful.
Step one is for @codinghorror to decide if this is in the nice to have list or not
I do not think we should support it, way too much downside, not enough upside
Fair enough.
Pasting a one dot leader (U+2024) is accepted in tag names on try.discourse.org and looks like a period. Any chance using one dot leaders wouldn’t require routing changes and discourse could convert periods to one dot leaders when creating tag names?
I strongly suspect hacks like this will be both more fragile and require even more work than doing it properly.
Seems like periods in tag names have since stopped working; see e.g., https://community.metabrainz.org/tag/musicbrainz.org. We currently have three tags on our forum from when periods were allowed in tags names, but since I can’t access their pages anymore, I also can’t rename them to remove the dots. Is there a workaround for this? I tried URL escaping the . to %2E but this changed nothing.