Defines the class for the parsers
info() returns a helpline on the function an its arguments
dowork(&$wiki) calculates the result. Parser receive the wiki as argument and can change it.
All parsers are in the inc/parsers folder. There is no site folder for custom parsers. The order of the parses matters, so new parsers cannot be added without caution.
- In general, parsers start with $s = $wiki->parsedContent,, analyze and manipulate $s and make the inverse operation $wiki->parsedContent = $s; .
- Some parsers may have side effects on other properties of the wiki.
- Some parsers may even create a new wiki on the fly, like redirection.