Opened 18 years ago
Last modified 10 years ago
#4778 new enhancement
simplified wikification of svn log messages
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | formatter |
Cc: | rbu@…, lists@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Is it possible to simplify the wikification of svn log messages? The problem I get is if we have some math content (like
x^5+x^4+x
which will show like x5+x4+x. There are some other things as well, which we don't actually need in or project, as the log messages are and will always be plain text. The only thing I'd like to keep is the recognition of revision numbers in the log messages with the appropriate links.
Is it hard to achieve this? (Would be ok if it is in the source, i.e. not configurable by admin/user)
Thanks.
Attachments (2)
Change History (18)
comment:1 by , 18 years ago
Type: | defect → enhancement |
---|
comment:2 by , 18 years ago
follow-up: 4 comment:3 by , 18 years ago
Component: | changeset view → wiki |
---|---|
Description: | modified (diff) |
Keywords: | formatter added |
Milestone: | → 0.11 |
Owner: | changed from | to
Summary: | wikification of svn log messages → simplified wikification of svn log messages |
There's currently a TracIni#changeset-section option for that (wiki_format_messages
).
Also, I'm in the process of refactoring the Wiki engine. I think it should be possible to create a "TracLinks only" formatter, so that only things like tickets and changesets links get formatted.
by , 18 years ago
Attachment: | format.patch added |
---|
follow-up: 5 comment:4 by , 18 years ago
Replying to cboos:
There's currently a TracIni#changeset-section option for that (
wiki_format_messages
).
thanks, I must have overseen that option. Though it doesn't respect line breaks. This is easily fixed (see attached patch)
Also, I'm in the process of refactoring the Wiki engine. I think it should be possible to create a "TracLinks only" formatter, so that only things like tickets and changesets links get formatted.
that'd be great, too.
comment:5 by , 18 years ago
Replying to Sergei Haller <sergei@sergei-haller.de>:
Replying to cboos:
There's currently a TracIni#changeset-section option for that (
wiki_format_messages
).thanks, I must have overseen that option. Though it doesn't respect line breaks. This is easily fixed (see attached patch)
thanks, applied in r4799.
by , 18 years ago
Attachment: | short-mes.patch added |
---|
somewhat related. fixes shorten_line call in revision log if wiki_format_messages is disabled.
comment:6 by , 18 years ago
Owner: | changed from | to
---|
hm, btw, I didn't notice attachment:short-mes.patch but I did notice the columns full of shorten_line(message) → r4800 ;-)
comment:7 by , 18 years ago
In #3203, there's the idea to specifically disable one kind of link resolver (the r… style changeset links).
comment:8 by , 18 years ago
#4944 was closed as duplicate (emphasis was put there on the need to respect whitespace).
comment:9 by , 18 years ago
Milestone: | 0.11 → 0.12 |
---|
WikiEngine refactoring and related fixes postponed.
comment:10 by , 17 years ago
Is the "TracLinks only" formatter already implemented? I am new to Trac and do not know how to interpret the message "milestone changed from 0.11 to 0.12" in this thread. The Trac instance I am a user of is still based on 0.10.3, but if I knew there was a feature like "TracLinks only", I might be able to convince the admin to upgrade to a newer version. The problem I had with the Wiki formatter is described in #6510.
comment:12 by , 15 years ago
Cc: | added |
---|
adding to cc (this text is needed to not trigger the spam detection, unfortunately)
comment:13 by , 14 years ago
Severity: | normal → minor |
---|
comment:15 by , 14 years ago
Cc: | added |
---|
Could be useful for the 'description' field in the csv export as well.
comment:16 by , 10 years ago
Owner: | removed |
---|
well, I found the place (template/changeset) and replaced
is there any easy way to parse the message for revision numbers and convert them to links?