Forwarding, just in case anyone is on this list that isn't on the main mediawiki one.
---------- Forwarded message ---------- From: Dirk Riehle dirk@riehle.org Date: 20 Jan 2008 19:25 Subject: [Mediawiki-l] Wiki Creole grammar, schema, transformations made available To: wiki-research-l@lists.wikimedia.org, mediawiki-l@lists.wikimedia.org
For those who were interested in a Mediawiki grammar etc, here is a first step:
--------
For research purposes as well as the Wiki Creole community's convenience, we are making our EBNF grammar, the XML schema definition, and the to/from XML transformations available. You can use these specifications to create your own parsers as well as use standard technology (DOM, XSLT) to work with wiki pages and display or save them.
For more, see the dedicated Wiki Creole page at http://www.riehle.org/wiki-creole as well as the WikiCreole community at http://www.wikicreole.com
Dirk
-- Phone: + 1 (650) 215 3459 Web: http://www.riehle.org
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 1/21/08, Thomas Dalton thomas.dalton@gmail.com wrote:
Forwarding, just in case anyone is on this list that isn't on the main mediawiki one.
Ooh, thanks. There are a couple of 404s on that page, but my initial reactions:
1. They used ANTLR (and it worked) 2. If nothing else, it would be good if our ANTLR grammar approached the problem in a similar way, used similar names etc. I don't think MediaWiki is going WikiCreole anytime soon, but it wouldn't hurt to at least be able to see across the gap... 3. Wikicreole seems quite a lot simpler to parse. And I'm jealous of some of the syntax. Looks like this is a table:
|-header
|some|row|... |same|row|...
|new|row|
|another|row
And that's it. I think I could actually remember that syntax without looking it up every time :) OTOH, it clearly doesn't support all the HTML styling and stuff that MediaWiki does.
My attempt at an ANTLR grammar has been a bit stalled lately due to the difficulties of working with ANTLR. I'm a bit disheartened by the amount of work needed to suppress all the warnings, and the sheer increase in complexity that seems to arise from every additional feature. But I'll definitely be keeping an eye on this document.
Steve
On 21/01/2008, Steve Bennett stevagewp@gmail.com wrote:
My attempt at an ANTLR grammar has been a bit stalled lately due to the difficulties of working with ANTLR. I'm a bit disheartened by the amount of work needed to suppress all the warnings, and the sheer increase in complexity that seems to arise from every additional feature. But I'll definitely be keeping an eye on this document.
Well, bother. Have you put up your working notes on mediawiki.org? (All I can see at a glance is the Image: parser.)
- d.
wikitext-l@lists.wikimedia.org