Hi all,  we just put together a small modification to Trac to allow a custom
ticket field to be marked as "Auto Wiki".  When this is turned on it causes
the field to be rendered as though you had typed in custom_field_name:value
so that it will trigger the InterMapTxt rendering while still allowing the
data entry of just the actual value.

An example where this is useful would be if you have some other help desk
system in place and want to track it's ticket numbers in Trac,  but have
those auto-render as hyperlinks to the other system.  e.g. If you defined a
custom field called "remedy" and someone entered "1234" on the ticket,  it
would render as though they had entered "remedy:1234",  which would trigger
the InterMapTxt lookup for remedy and do the appropriate URL substitutions
if found.   Only the "1234" would be stored in the database, so querying for
1234 would work properly.  This helps keeping the data entry simple as well
for people that don't understand TracLinks yet.

It requires a small patch to Trac (and we have a corresponding patch for the
Custom Field Admin plugin) which we'll try to get posted to trac-hacks in
the next few days, along with some screenshots that show it in action.  The
patch is against 0.11, so it might need some tweaking to apply against
trunk.

I'd be interested in some feedback from folks before hand though:

* Is there general interest in this?

* A better name than Auto-Wiki?  We couldn't come up with anything else that
was clear enough that didn't need explaining :-)

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to