Opened 16 years ago
Last modified 3 years ago
#7658 new enhancement
Option to disable automatic linking of CamelCase
Reported by: | 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: |
Description
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 , 16 years ago
Milestone: | → 0.12 |
---|---|
Owner: | set to |
comment:2 by , 16 years ago
Priority: | normal → low |
---|
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 , 16 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 , 15 years ago
Milestone: | 0.12 → 0.12.1 |
---|
Not much activity on the newhelp branch lately, so I'm pushing this back a bit.
comment:5 by , 15 years ago
Keywords: | CamelCase added |
---|---|
Milestone: | next-minor-0.12.x → next-major-0.1X |
Priority: | low → normal |
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 , 15 years ago
Priority: | normal → high |
---|
[wiki] camelcase_links = false
, true
being the default.
comment:7 by , 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:9 by , 10 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:11 by , 9 years ago
Cc: | added |
---|
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.