Edgewall Software

Opened 16 years ago

Last modified 2 years ago

#7658 new enhancement

Option to disable automatic linking of CamelCase

Reported by: dave@… Owned by:
Priority: high Milestone: next-major-releases
Component: wiki system Version: 0.11-stable
Severity: normal Keywords: CamelCase
Cc: dave@…, notify_craig@… Branch:
Release Notes:
API Changes:
Internal Changes:


It must have been brought up a million times by now. I can see that #476 almost addressed the problem for me, but didn't quite cut the mustard. Simply setting ignore_missing_pages isn't sufficient, as I'd like to see missing pages, but not automatic camelcase detection. Our naming convention uses camelcase and it's getting in the way. Trac is supposed to "stay out of the way" of developers. I'd just rather a wiki link was explicit.

I'd like to see either a global option in the ini file to switch this off completely, or a more configurable option, something like that suggested here: http://trac.edgewall.org/ticket/476#comment:23

The fix suggested in http://trac.edgewall.org/ticket/476#comment:26 would do just fine. If it breaks my wiki pages like the default Trac* wiki, that's my problem, and I'm quite prepared to deal with that. It's such a simple fix, I can't see why anyone would have any objections. I'll hack my installation for now, but I'd rather not.

Thanks, Dave.

Attachments (0)

Change History (11)

comment:1 by Remy Blank, 16 years ago

Milestone: 0.12
Owner: set to Remy Blank

I would be ok with the fix in comment:26:ticket:476, but breaking the default wiki pages is not acceptable. However, the newhelp branch scheduled for inclusion in 0.12 should move the pages out of the wiki, therefore solving that part of the problem.

So I'm scheduling this tentatively for 0.12, after the newhelp merge.

comment:2 by dave@…, 16 years ago

Priority: normallow

Having used trac for a week now with the ignore_missing_pages option, it does actually serve my purposes just fine. The problem would appear to be simply a naming issue. Setting ignore_missing_pages does link to missing pages if they are explicitly linked.

comment:3 by anonymous, 15 years ago

This ticket describes my problem quite well, CamelCase generally comes in the way of how I use the wiki pages, and putting a ! in front of every CamelCased word is not really an option. currently I'm using the 'ignore_missing_pages', but I'd quite like to have links to my missing pages as it's intuitive to make new pages.

If this patch can be applied for 0.12 I'd be quite happy.

comment:4 by Remy Blank, 15 years ago


Not much activity on the newhelp branch lately, so I'm pushing this back a bit.

comment:5 by Christian Boos, 14 years ago

Keywords: CamelCase added
Milestone: next-minor-0.12.xnext-major-0.1X
Priority: lownormal

Now that we have [[...]] style links, this sounds like a more reasonable option.

We would still have to make the help pages use them.

comment:6 by Christian Boos, 14 years ago

Priority: normalhigh

[wiki] camelcase_links = false, true being the default.

comment:7 by Remy Blank, 14 years ago

Links in the TracGuide will have to be made explicit, and in the spirit of TracDev/Proposals/NewHelp, we could use a prefix of help: or guide: or tracguide: (which one? I vote for help:).

comment:8 by Remy Blank, 12 years ago

Owner: Remy Blank removed


comment:9 by Carsten Klein <trancesilken@…>, 9 years ago

I was about to propose a patch for this, but I am having a hard time finding the regex that is responsible for matching camel case… Any hints?

comment:10 by Peter Suter, 9 years ago

Are you looking for WikiSystem.get_wiki_syntax()?

comment:11 by Craig Silver <notify_craig@…>, 9 years ago

Cc: notify_craig@… added

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.