Edgewall Software

Opened 20 years ago

Last modified 19 years ago

#1032 closed enhancement

[patch] Recognize Subversion-style revision numbers (rNNNN) as a changeset link — at Version 5

Reported by: rmunn@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: wiki system Version: 0.8
Severity: normal Keywords: wikiformatter helpwanted
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Currently (as of Trac 0.8), the Wiki recognizes [N] as a changeset link, and will recognize that syntax in commit log messages. But the traditional format for writing Subversion revision numbers is rNNNN. See, for instance, http://svnbook.red-bean.com/en/1.1/ch04s04.html, where commit log messages like "Merged my-calc-branch changes r406:480 into the trunk" or "Undoing change committed in r303" are given as examples.

I propose that WikiFormatter.py should recognize not just [N] format, but also rNNNN format, as a changeset link.

Change History (6)

comment:1 by rmunn@…, 20 years ago

Please note that I have not yet tested this patch. I should have a working Trac installation in a week or so; when I do, I'll test my patch and update this ticket if testing reveals any problems.

comment:2 by cboos@…, 20 years ago

It works, but what gets actually displayed for e.g. r123 is still the usual [123]. Was that intended? I see no problem with that, however, it will tell people the "right" notation to use :)

comment:3 by Christopher Lenz, 19 years ago

Keywords: helpwanted added

comment:4 by Christopher Lenz, 19 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:5 by Christopher Lenz, 19 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.