Opened 9 years ago
Closed 9 years ago
#13707 closed enhancement (wontfix)
Deny or convert white spaces in page and attachment names
| Reported by: | skyper | Owned by: | stoecker |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Trac | Version: | |
| Keywords: | page name attachment white space | Cc: | openstreetmap.org-user-d1g |
Description (last modified by )
As white spaces in page and attachment names make the trac syntax fail, please try to deny or automatically rename them.
For page names CamelCase should be used anyway but I think this train has passed quite some time ago.
May be some instructions could be the first step.
Thanks
Attachments (0)
Change History (6)
follow-up: 2 comment:1 by , 9 years ago
follow-up: 3 comment:2 by , 9 years ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
Replying to stoecker:
Trac can also link to page names with white spaces. It's only a little more complicated to do so.
Yes, as trac interprets several syntax, it is possible but not easy. With attachments it is even more complicated if you want to link to it or include it on a different page.
comment:3 by , 9 years ago
Replying to skyper:
With attachments it is even more complicated if you want to link to it or include it on a different page.
Is it possible to work with underscore_separated_ones or hyphen-separated-ones?
I can't jump words (Ctrl+Left, Ctrl+right) in Firefox when text in CamelCasedWordsEveryWhere
Every other method works in FF, but not CamelCase :)
Thanks for ping; yes, I noticed this message yesterday: Help/Dialog/UnsavedChangesDialog
follow-up: 5 comment:4 by , 9 years ago
I want to add that link resolving is not always right in guessing:
https://josm.openstreetmap.de/wiki/Help/Action/OrthogonalizeShape?sfp_email=&sfph_mail=&action=diff&version=14&old_version=13&sfp_email=&sfph_mail=
Version 13 will lead to https://josm.openstreetmap.de/wiki/Help#Rotation (main help pages)
Version 14 will lead to https://josm.openstreetmap.de/wiki/Help/Action/Help#Rotation (action page named "Help")
comment:5 by , 9 years ago
Replying to openstreetmap.org-user-d1g:
Replying to skyper:
With attachments it is even more complicated if you want to link to it or include it on a different page.
Is it possible to work with underscore_separated_ones or hyphen-separated-ones?
Yes, I prefer underscore but both are much better than white spaces
Replying to openstreetmap.org-user-d1g:
I want to add that link resolving is not always right in guessing:
https://josm.openstreetmap.de/wiki/Help/Action/OrthogonalizeShape?sfp_email=&sfph_mail=&action=diff&version=14&old_version=13&sfp_email=&sfph_mail=
Version 13 will lead to https://josm.openstreetmap.de/wiki/Help#Rotation (main help pages)
Version 14 will lead to https://josm.openstreetmap.de/wiki/Help/Action/Help#Rotation (action page named "Help")
Sorry, for that missed a slash. wiki:/Help is special.
comment:6 by , 9 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
If there are some pages which should be changed to another name tell me, otherwise that's a wontfix. I don't plan to change more on trac than necessary to get JOSM working :-)



Trac can also link to page names with white spaces. It's only a little more complicated to do so.