Opened 18 years ago
Closed 18 years ago
#5704 closed enhancement (fixed)
Pre-fill the new edit slug box with current slug
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.5 |
| Component: | Administration | Version: | 2.5 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Very simple patch which pre-fills the shiny new edit slug box (r6633) with the current slug instead of the field being empty. Makes it much nicer for users to edit the slug in place especially if it's a long one.
Attachments (2)
Change History (5)
#2
@
18 years ago
The problem comes with post names, which contain lots of non-ascii characters (cyrillic for example). Thus, they will get url encoded and the url will look sth like: %d0%b0%d1%80%d…87%d1%82%d0%b0. I really don't want my edit box the be pre-filled with this one.
So, here is a sample solution: we will pre-fill only if the %s are less than a quarter of the length of the slug. Patch attached.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch