On 2015-01-20 12:21 PM, James HK wrote:
Hi,
- ​Get rid of wikitext on the server-side.
- HTML storage only. Remove MWParser from the codebase. All
extensions that hook into wikitext (so, almost all of them?) will
need
to
be re-written.
You gotta to be kidding. It seems we are a bit out of sync
here with
the real world for proposing (or demanding not sure if above is being
seriously considered) something like "All extensions that hook into
wikitex ... will need to be re-written.".
Parsoid, etc... can already handle
parser functions and tag hooks.
So I'm not certain but, he may be talking specifically about extensions
that hook into WikiText to implement their own custom syntax like
[[Foo::Bar]].
We certainty want to avoid a situation where we have to write
spaghetti code just because of
if ( $parser === 'Parsoid' ) {
return $this->doSomethingToBeAbleToHandle( '[[Foo::Bar]]' );
}
Cheers