Hello,
When I started looking at mediawiki code, I tried to find a yacc/lex/bison php tool to generate a php parser given a syntax.
I have looked again at the pear site and found a wiki text parser that started at the beginning of dec. 2003 (see below for link).
The class is still alpha stuff but it might possibly be used for our usage ? Instead of trying to develop our own parser, maybe we can start trow ideas in text_wiki class and maybe have one day an unified wiki syntax that will be common to all wikis !!
Pear page of the package : http://pear.php.net/package/Text_Wiki Package website : http://wiki.ciaweb.net/yawiki/index.php?area=Text_Wiki
The text_wiki supports tables, headers, definition lists, interwikis. Maybe we can work with them ?
Ashar Voultoiz wrote:
maybe have one day an unified wiki syntax that will be common to all wikis !!
Changing the syntax of a wiki would require two things: (a) converting all the articles to the new syntax (bound to go wrong!), and (b) pursuading all regular contributors to get used to the new syntax (bound to cause controversy!).
Timwi
Timwi wrote:
Ashar Voultoiz wrote:
maybe have one day an unified wiki syntax that will be common to all wikis !!
Changing the syntax of a wiki would require two things: (a) converting all the articles to the new syntax (bound to go wrong!), and (b) pursuading all regular contributors to get used to the new syntax (bound to cause controversy!).
Timwi
The class allow one to specify it's own syntax / handlers !! :o)
wikipedia-l@lists.wikimedia.org