Loading...
 
Skip to main content

Wiki plugin (syntax and) parsing makes embedding code inconvenient

Status
Open
Subject
Wiki plugin (syntax and) parsing makes embedding code inconvenient
Version
5.x
Category
  • Usability
  • Feature request
  • Consistency
Feature
Wiki Plugin (extends basic syntax)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
New
Submitted by
Gergely
Lastmod by
Gergely
Rating
(0)
Description

It is rather difficult to write plugins that embed other plugins. The reason is the wiki syntax of the plugins not expressing if it is a beginning or an ending clause. The default is the "{X} body {X}" syntax.
Instead, {X} body {/X} should be used.
While this latter syntax as well as the {X /} are accepted by $tikilib->parse_data, it does not process the embedded calls. E.g {X} {X /} {/X} does not work. It returns an empty body instead of {X /} or the result of {X /}.

Solution

Improve $tikilib->parse_data.

Work-around I will try soon:
{X} {}{X /} {/X} or
{X} {UNDEFINED_PLUGIN}{X /} {/X}

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3134
Created
Tuesday 20 April, 2010 23:18:47 UTC
by Gergely
LastModif
Tuesday 20 April, 2010 23:18:47 UTC


Show PHP error messages