Feature #867

Want more wiki link types

Added by John Goerzen over 11 years ago. Updated over 6 years ago.

Status:ClosedStart date:2008-03-15
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution:Fixed

Description

I'm used to using these on Trac and am missing all of them in Redmine:

source:                        -- link to repository home page
source:/trunk/foo              -- link to file at current version
source:/blah/bar.txt@1234      -- link to file or dir at given rev
                               -- add #L25 to any of the above to go to specific line

Trac didn't have these, but they would make a lot of sense in Redmine:

files:                         -- Downloads home page
files:foo-1.3.5.tar.gz         -- Download named file
files:foo.tar.gz@15            -- Download named file at given version
forums:                        -- Main forums page.
                               -- Should also have a way to link to 
                               -- a particular forum, thread, or post.

Also, links into the roadmap, activity, overview, and overall projects page would be useful.

Currently all of the above I have to hardcode as URLs.


Related issues

Related to Redmine - Feature #2069: Wiki syntax to link to files in the files-module New 2008-10-22
Related to Redmine - Feature #4179: Link to user in wiki syntax Closed 2009-11-08

Associated revisions

Revision 1267
Added by Jean-Philippe Lang over 11 years ago

Add Redmine links for repository files using source: and export: keyworkds (#867).

History

#1 Updated by Jean-Philippe Lang over 11 years ago

  • % Done changed from 0 to 50

Links to repository files committed in r1267. Here are some examples:

source:some/file          -- Link to the file located at /some/file in the project's repository
source:some/file@52       -- Link to the file's revision 52
source:some/file#L120     -- Link to line 120 of the file
source:some/file@52#L120  -- Link to line 120 of the file's revision 52
export:some/file          -- Force the download of the file

Note that source: alone won't work.

#2 Updated by Jos Yule over 11 years ago

Wow, those are great! I don't know when i'll use them, but i can see them coming in handy sometime.

#3 Updated by Paul Rivier about 11 years ago

  • Assignee set to Jean-Philippe Lang

I would prefer the link to point to the "changes" page rather than to the "entry" page. With interlinks, it makes more sens to me to land on a page describing the history of the file in the project rather than to download directly the file. WDYT ?

#4 Updated by Patrick Meidl almost 9 years ago

what would also be great is a link to the user profile as suggested in issue #1629, note 10.

#5 Updated by Etienne Massip about 8 years ago

  • Category set to Text formatting

#6 Updated by Mischa The Evil over 6 years ago

  • Status changed from New to Closed
  • Assignee deleted (Jean-Philippe Lang)
  • % Done changed from 50 to 0
  • Resolution set to Fixed

Paul Rivier wrote:

I would prefer the link to point to the "changes" page rather than to the "entry" page. With interlinks, it makes more sens to me to land on a page describing the history of the file in the project rather than to download directly the file. WDYT ?

Please open a new issue for this if this is still wanted.

Repository links (source:/export:) are implemented. Files links and User profile links are still missing but they have there own issues (#2069 and #4179).

Also available in: Atom PDF