Modify

Opened 5 years ago

Closed 5 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 skyper)

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)

comment:1 Changed 5 years ago by stoecker

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

comment:2 in reply to:  1 ; Changed 5 years ago by skyper

Cc: openstreetmap.org-user-d1g 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 in reply to:  2 Changed 5 years ago by 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?

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

comment:4 Changed 5 years ago by openstreetmap.org-user-d1g

comment:5 in reply to:  4 Changed 5 years ago by skyper

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 Changed 5 years ago by stoecker

Resolution: wontfix
Status: newclosed

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 :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.