On 01/12/2013 09:15 AM, Mark A. Hershberger wrote:
The more I look at ContentHandler, the more it seems like a major new feature for MW.
Are there any examples of this in use on Labs?
Is there more information on how to use and extend it for things like WorkingWiki?
There is some talk of how the Gadgets extension may be changed by the use of ContentHandler. Has any work been done on that yet? Do gadget authors on-wiki need to know about these changes?
Gadgets 2.0 could potentially use a new content page type to store information. Currently it looks like https://en.wikipedia.org/wiki/MediaWiki:Gadgets-definition . As you can see, as more information has been added, the lines have gotten increasingly awkwardly formatted.
There is a proposal to use JSON (https://www.mediawiki.org/wiki/Gadgets_2.0#Implementation_proposal) and a custom UI, I believe that could be hooked into ContentHandler. Gadgets 2.0 is also meant to provide very useful features like i18n for gadgets.
Last I heard, significant progress was made on 2.0, but the project is currently on hold. Thus, there's not a need to notify people right away. When the time comes, I don't think initial migration will be overly complicated, because the existing syntax has a clear mapping to the new one.
Matt Flaschen