Hi Mark,
Do you know that the WorkingWiki extension pretty much already does this?
http://lalashan.mcmaster.ca/theobio/projects/index.php/WorkingWiki
I haven't looked into the ContentHandler features in any detail, but I don't imagine it'll be hard to handle source files stored on pages with special content types along with the other ways of storing source files that we already support. And yes, I'm sure I'll do it at some point.
Lee Worden
Date: Fri, 11 Jan 2013 20:19:57 -0500 From: "Mark A. Hershberger"mah@everybody.org To: Wikimedia developerswikitech-l@lists.wikimedia.org Subject: [Wikitech-l] Release Notes and ContentHandler Message-ID:50F0BA3D.6060102@everybody.org Content-Type: text/plain; charset=ISO-8859-1
As you may have guessed, I've been working on the release notes for 1.21. Please look over them and improve them if you can.
In the process, I came across the ContentHandler blurb. I don't recall this being discussed on-list, but, from looking at the documentation for it, it looks pretty awesome. I've used some of my editorial powers to say, in the release notes:
Extension developers are expected to create additional types in the future. These might support LaTeX or other forms of markup.
Is this correct? It sounds like a really big thing, if it is.
-- http://hexmode.com/ Language will always shift from day to day. It is the wind blowing through our mouths. -- http://hexm.de/np
On 01/12/2013 08:00 AM, Lee Worden wrote:
Do you know that the WorkingWiki extension pretty much already does this?
I was not aware of this extension.
If I am understanding the example at http://lalashan.mcmaster.ca/theobio/projects/index.php/Greenhouse_paper correctly, it looks like it uses the <source-file> tag to make it so that parts of the page are handled by LaTeXML.
Just from looking over https://www.mediawiki.org/wiki/ContentHandler there seems to be a lot of cross over between what the WorkingWiki extension does and what ContentHandler enables. Having ContentHandler in core may mean that you can reduce the amount of code in the WorkingWiki extension.
Check out https://www.mediawiki.org/wiki/MediaWiki_1.21/wmf2#The_biggest_changes for a description of how ContentHandler might affect other MediaWiki installations.
On 01/12/2013 09:09 AM, Sumana Harihareswara wrote:
Check out https://www.mediawiki.org/wiki/MediaWiki_1.21/wmf2#The_biggest_changes for a description of how ContentHandler might affect other MediaWiki installations.
Thanks! I've used that as a start for what can go into the release notes.
wikitech-l@lists.wikimedia.org