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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3134
- Created
- Tuesday 20 April, 2010 23:18:47 UTC
by Gergely - LastModif
- Tuesday 20 April, 2010 23:18:47 UTC