I have stumbled upon a problem when a feature (especially Hotwords) is enabled it creates lot of issues incorrectly parsing the content of Wiki pages and other parts of Tiki where wiki or smarty syntax is involved resulting in links inside rendered HTML attributes or WSODs. So here is my wish:
It would be super useful to have a plugin which would prevent some enabled features auto-parsing or allow parsing of its body depending on params, something like:
The next example would prevent (ignore) parsing of the Hotwords and CamelCase WikiWords in the plugin body.
{PARSE(ignore="feature_hotwords:feature_wikiwords")} I am a ((Hotword|Hot word)) and I don't want to be double-parsed. CamelCase is WikiWord? Yes! __I am bold__ and I am not. {DIV()}I am a div.{DIV} {PARSE}
The next example would allow only parsing of Wiki syntax and WikiWords and nothing else in the plugin body.
{PARSE(only="wiki_syntax:feature_wikiwords")} I am a ((Hotword|Hot word)) and I don't want to be double-parsed. CamelCase is WikiWord? Yes! __I am bold__ and I am not. {DIV()}I am a div.{DIV} {PARSE}
Other candidates for the "ignore" and "only" params:
feature_wiki_allowhtml
feature_autolinks
feature_wiki_argvariable
feature_wiki_paragraph_formatting
smarty_syntax
wiki_plugins (meaning all wiki plugins)
wikiplugin_div (meaning specified wikiplugin)
etc.
I think it would be useful also for the LTS versions.
Anybody takes the challenge ?
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |