This profile intends to provide basic reference management inside the wiki. Each reference is stored as a tracker item and they can be referred to by using a custom wiki plugin. The reference is displayed as a number on the page and on click, displays a pop-up with the full reference name and a link to details.
Tracker
Contains the reference name and link.
YAML
objects:
-
type: tracker
ref: references
data:
name: References
description: List of available references from the wiki pages
default_status: open
-
type: tracker_field
ref: label
data:
name: Name
tracker: $references
description: Name to display for the reference when reference is clicked
type: text_field
visible: public
flags: [ list, link, searchable, public, mandatory ]
-
type: tracker_field
ref: url
data:
name: URL
tracker: $references
description: Location to link to
type: text_field
visible: public
flags: [ list, link, searchable, public, mandatory ]
Plugin
To be called as {ref id=4} .
YAML
objects:
-
type: plugin_alias
data:
name: ref
implementation: mouseover
description:
name: Reference
description: Displays a link to a reference as a number and display details in a pop-up
prefs: [ wikiplugin_ref ]
params:
id:
name: ID
description: Tracker ID to the reference
filter: digits
required: true
body:
input: ignore
default: "{trackeritemfield trackerId=$profileobject:references$ itemId=%id% fieldId=$profileobject:label$}"
params:
id:0
params:
sticky: y
width: 300
height: 20
label:
pattern: %id%
params:
id: 0
Dependencies
YAML
preferences:
enable: [ feature_trackers, wikiplugin_ref ]