Task Reference Relativizer Job
Last modified by superadmin on 2026/11/06 14:58
- Task Reference Relativizer Job
-
Runs a process that finds all the macros that have an absolute reference (i.e. xwiki:Space.Tasks.Task1 or Space.Tasks.Task1) and turns them in a relative page reference. (i.e. /Tasks/Task1). This prettifies the reference parameter of the task macro and allows the copying and moving of xwiki pages run correctly.
- 0 0 0 1 1 ?
- The script is the code that will be executed when the job is triggered by the scheduler. It should be written in the Groovy language. The XWiki API is available through the xwiki and context pre-defined variables.
- services.task.relativizeMacroReferences()