Allowing dots in URLs on xwik.org and in the kebab-case page naming strategy

Hi devs,

At Improving Page Name & URL Structure for xwiki.org - #17 by vmassol and Using kebab style for attachment names for xwiki.org - #10 by elenicojocariu we’ve agreed to use kebab-case for URLs on xwiki.org.

The strict kebab-case rule is to allow only letters and “-” characters.

However, that leads to weird and less readable URLs.

For example, consider:

/api/v1.2.3/users

vs

/api/v1-2-3/users

Another example are the blog posts on xwiki.org. For example:

https://www.xwiki.org/xwiki/bin/view/Blog/xwiki-17.4.8-released

vs

https://www.xwiki.org/xwiki/bin/view/Blog/xwiki-17-4-8-released

You can’t really know what 17-4-8 means. It’s not using a recognizable version format. It could as well represent the 17th of April of 2008 or a reference, or something else.

For me it’s clear that it’s more readable to allow dots to be used between digits.

Thus I’d like to propose that we allow the usage of dots between digits + have an option in our kebab-case page naming strategy to allow for that.

WDYT?

Thanks

1 Like

+1

+1 thanks

+1

Thanks,
Marius

+1

Thanks,
Alex