Item2438: When attaching files, improve look of automatic Links

pencil
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: DanielOderbolz
Waiting For:
Last Change By: DanielOderbolz
If a file is attached to a topic, FOSWIKI provides the handy feature "Create a link to the attached file".

However, links generated like this have the form: * filename: description

In almost all cases, users manually change this to:

* description

In my opinion, the filename must not be output again - it is already in the path and if a user needs it, it can be copied from there. I think it would make sense to change the behaviour of the Wiki accordingly - what is your opinion?

-- DanielOderbolz - 01 Dec 2009

Daniel, this is already possible, but apparently badly documented. There are two settings in System.DefaultPreferences, namely ATTACHEDFILELINKFORMAT and ATTACHEDIMAGEFORMAT, that can be set/overridden accordingly (e.g., by placing redefinitions in topic WebPreferences).

Closing this... wink

-- MarkusUeberall - 01 Dec 2009

Cool, thanks! So you will also improve the documentation of this?

Cheers, Daniel

-- DanielOderbolz - 01 Dec 2009
 

ItemTemplate edit

Summary When attaching files, improve look of automatic Links
ReportedBy DanielOderbolz
Codebase 1.0.7
SVN Range
AppliesTo Engine
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
Topic revision: r3 - 01 Dec 2009, DanielOderbolz
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy