Ticket #5664 (closed Feature Request: fixed)
Short name creation needs a few tweaks
| Reported by: | limi | Owned by: | laz |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.0b2 |
| Component: | Infrastructure | Keywords: | sprint |
| Cc: |
Description
The current short name generation works well, but we should improve it a bit:
- Currently, it has no length limit (or a very long one). We should crop the short name if it gets too long, and make sure the cropping isn't done in the middle of a word (unless the title is a very long word, and it is impossible to do so
- The apostrophe should just be removed instead of replaced by a hyphen. Example:
Title: "This doesn't matter" Current: "this-doesn-t-matter" Desired: "this-doesnt-matter"
File under nice-to-have ;)
Change History
comment:2 Changed 5 years ago by limi
- Keywords sprint added
- Milestone changed from 2.5.x to 3.0
The length limit + making sure that it's not splitting the middle of a word is the only thing that remains here. Perfect sprint task. :)
comment:3 Changed 5 years ago by laz
- Owner changed from somebody to laz
- Status changed from new to assigned
let's have a try
Note: See
TracTickets for help on using
tickets.

(In [10257]) Ignore the ' character when normalizing strings. refs #5664