On 01/12/2013 09:59 AM, Mark A. Hershberger wrote:
On 01/12/2013 09:32 AM, Matthew Flaschen wrote:
On 01/12/2013 09:15 AM, Mark A. Hershberger wrote:
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?
Matt,
Thanks for your insight on ContentHandler and Gadgets 2.0. Do you have any on the above two questions?
The main documentation is at https://www.mediawiki.org/wiki/Manual:ContentHandler . It isn't quite a tutorial, but there are several useful links. It can definitely use some more work.
I also created https://www.mediawiki.org/wiki/Category:ContentHandler and https://www.mediawiki.org/wiki/Category:ContentHandler_extensions . ContentHandler is now a supported type extensions can include in https://www.mediawiki.org/wiki/Template:Extension to show they use it.
That should help track down more information, including working code using it. I am also fairly familiar with https://www.mediawiki.org/wiki/Extension:EventLogging (mostly written by Ori Livneh). People may want to look at its code (https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/EventLogging.gi...), then ask one of us questions about how it's using ContentHandler.
Matt Flaschen