Loading...
 
Skip to main content

Wiki Argument Variable error when used with Wiki Plugin

Status
Open
Subject
Wiki Argument Variable error when used with Wiki Plugin
Version
6.x
Category
  • Usability
Feature
Wiki Plugin (extends basic syntax)
Wiki Syntax (text area, parser, external wiki, etc)
Submitted by
WarMacre
Lastmod by
WarMacre
Rating
(0)
Description

2022-10-17: I (marclaporte) added PluginCode on examples below because it causes issues on index rebuild.

When using Wiki argument variables within a Wiki plugin, the combination of the curly braces and the quotation mark (e.g. {{itemId}}")prematurely ends the plugin's options syntax.

Example:

Copy to clipboard
||__Plugin__|TrackerFilter __Plugin Field__|url __Field Value__|"Edit+Compound&itemId=3803"||


The following is an example of what I can see when editing the text of a wiki page:

Copy to clipboard
|| ~pp~ {trackerfilter filters="126/m" trackerId="11" fields="123" url="Edit+Compound&itemId=3803" silent="y"}}"} ~/pp~ ||


This is what should be shown:

Copy to clipboard
||~pp~ {trackerfilter filters="126/m" trackerId="11" fields="123" url="Edit+Compound&itemId=3803" silent="y"} ~/pp~||


If you keep on editing the plugin using the edit icon and saving without making any changes, it will keep adding on any options that proceed the argument variable, like thus:

Copy to clipboard
|| ~pp~ {trackerfilter filters="126/m" trackerId="11" fields="123" url="Edit+Compound&itemId=3803" silent="y"}}" silent="y"}}"} ~/pp~ ||
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3803
Created
Thursday 24 February, 2011 00:12:01 UTC
by WarMacre
LastModif
Monday 17 October, 2022 14:27:04 UTC


Show PHP error messages