This was done as part of the move to Tiki-Flavored Markdown


Reasons to revamp (rewrite?) wiki parser

New Ideas

  • Recent work with Jison has proven very stable and would work great at creating a Javascript parser for GUI if ever needed.
  • The same parser from Jison could be used to create a php version of the same parse

Idea on how we could test for wiki parser regressions

From one Tiki version to another, there can be some slight changes in behavior. So a syntax used in Tiki3 will have a slightly different output in Tiki9. Sometimes, this is intentional, sometimes it is not. Ideally, we would have a systematic way to test and find this, using real World data.

  • Export HTML version of all wiki pages from *.tiki.org
  • Upgrade to next version of Tiki
  • Export HTML version of all wiki pages of the same site
  • Compare the two and analyze the differences


The same idea could be used to compare the current parser with the Jison Parser

CommonMark


Markdown

Markdown Extra

Asciidoctor

http://opensource.com/life/15/10/asciidoc


http://php.net/manual/en/intro.v8js.php

reStructuredText

Related links

Show PHP error messages
 
ERROR (E_WARNING): Trying to access array offset on null
At line 298 in temp/templates_c/en_social^51ed9d5e273be5e76d0e990a7170327cc292754c_0.file_tiki-show_page.tpl.php