"." (dot) in tag

It seems i cannot tag usage “.” (dot) in tag. For example: tag “1.2.3”.

Does Discourse support this?

1개의 좋아요

Not at the moment, we would need some routing changes on both ember and rails to support this. We avoided this change to date.

2개의 좋아요

(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. :slight_smile: 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?

2개의 좋아요

I strongly suspect hacks like this will be both more fragile and require even more work than doing it properly.

1개의 좋아요

태그 이름에 마침표가 사용되지 않는 것 같습니다. 예: https://community.metabrainz.org/tag/musicbrainz.org. 마침표가 허용되던 시절에 만든 포럼의 태그가 세 개 있는데, 이제 해당 페이지에 접근할 수 없기 때문에 점을 제거하기 위해 이름을 변경할 수도 없습니다. 이 문제를 우회하는 방법이 있을까요? .을 %2E로 URL 이스케이프 처리해 보았지만 아무 변화가 없었습니다.

4개의 좋아요