also, if the function to create the dom structure is separated, then the Semantic
Mediawiki extension can use it to parse the query string. then, plugging additional query
syntax may be possible.
Ittay Dror wrote:
Hi,
Any thoughts about changing the parser so it works in two steps? first, parse the wiki
text to create a dom like structure of elements (you can have TemplateCallElement,
InternalLinkElement etc.), then, traverse the tree, calling tag or function hooks. this
will allow much more powerful extensions.
Also, i think it will allow better handling of special characters. By not using regular
expressions, and creating a tree of elements, special characters can be escaped naturally
(quoted, or with '\').
Thanks,
Ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning