I think the idea that we might break the existing PHP "parser" out into a
library for general use is rather silly.
The "parser" is not a parser, it's a macro expander with a pile of
regular-expressions used to convert short-hand HTML into actual HTML. The
code that it outputs is highly dependent on the state of the wiki's
configuration and database content at the moment of "parsing". It also is
useless to anyone wanting to do anything other than render a page into HTML,
because the output is completely opaque as to where any of it
was derived. Dividing the "parser" off into a library would require an
substantial amount of MediaWiki code to be ported too just to get it
working. On it's own, it would be essentially useless.
So, it's probably not an issue what license this hypothetical code would be
released under.
- Trevor
On Tue, May 3, 2011 at 1:25 PM, David Gerard <dgerard(a)gmail.com> wrote:
On 3 May 2011 21:15, Domas Mituzas
<midom.lists(a)gmail.com> wrote:
> Thoughts? Also, for re-licensing, what level
of approval do we need?
> All authors of the parser, or the current people in an svn blame?
Current people are doing 'derivative
work' on previous authors work. I
think all are needed. Pain oh pain.
This is the other reason to reduce it to mathematics, which can then
be freely reimplemented.
- d.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l