I've been lurking on this list for a while now, waiting for the time to actually work on the Mediawiki code. Therefore, I was very interested in the proposed summer of code project "Wikitext parser rewrite"(http://meta.wikimedia.org/wiki/Summer_of_Code_2006#Wikitext_parser_rewrite)
I am going to submit an application when I can, but I have a clarifying question: Since wikitext does not appear to be even context-free, will we be allowed to change how wikitext works? (I.e. if the internal link syntax turns out (as I think it will) to be non-context-free (and therefore there is not a parser generator for it), will the student be able to change the syntax?)
Sincerely, [[en:User:Simonfairfax|Silas Snider]]
-------------------------------------------------------------------------- Silas Snider is a proud member of the Association of Wikipedians Who Dislike Making Broad Judgements About the Worthiness of a General Category of Article, and Who Are In Favor of the Deletion of Some Particularly Bad Articles, but That Doesn't Mean They are Deletionist (AWWDMBJAWGCAWAIFDSPBATDMTD) , and the Harmonious Editing Club of Wikipedia. --------------------------------------------------------------------------
On 4/21/06, Silas Snider swsnider@gmail.com wrote:
it), will the student be able to change the syntax?)
I'm interested in the answer to this as well.
Silas Snider wrote:
I've been lurking on this list for a while now, waiting for the time to actually work on the Mediawiki code. Therefore, I was very interested in the proposed summer of code project "Wikitext parser rewrite"(http://meta.wikimedia.org/wiki/Summer_of_Code_2006#Wikitext_parser_rewrite)
That's probably not an appropriate project, as it would be dependent on the syntax being formally defined first (a separate project, which will require being done with community input and careful consideration of compatibility).
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
Silas Snider wrote:
I've been lurking on this list for a while now, waiting for the time to actually work on the Mediawiki code. Therefore, I was very interested in the proposed summer of code project "Wikitext parser rewrite"(http://meta.wikimedia.org/wiki/Summer_of_Code_2006#Wikitext_parser_rewrite)
That's probably not an appropriate project, as it would be dependent on the syntax being formally defined first (a separate project, which will require being done with community input and careful consideration of compatibility).
As an example of something I'd _like_ to change:
It would be great if template substitutions work at the syntax-tree level, rather than the source text level. This would make it much easier to work with the data programmatically, and for instance much easier to get a clean interface on a mostly-WYSIWYG-like editing system.
It would though mean that some existing template styles would need to be changed. For instance something like this:
{{cool table header}} |a row |a row {{cool table footer}}
would need to be replaced with something like this:
{{cool table| |a row |a row }}
This of course requires being able to put things like table syntax into parameters without having it explode. (Escaping? etc)
This kind of incompatible change might break many thousands of pages; it would be good for a project working on syntax cleanup to search data dumps for such problems, and see what can be relatively automatically fixed and what needs a bigger cleanup project.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org