Hi!
I could use some help looking over extensions.
Since the ContentHandler stuff has been merged into the core, several much-used functions and hooks have been deprecated. I have tried to find and replace all calls in core, but a lot of extensions are still using the old stuff. They will still work for all text-based content, but will generate a ton of warnings, and will fail tests (and make core tests fail).
I have already posted updates for three extensions on gerrit:
* Gadgets: I3d28a3b8 * TitleBacklist: Ib3a00d89 * SpamBlacklist: I72d9ad58
So, it would be great if you (yes, you!) could help out by looking for deprecated stuff in extensions. Grep for it and/or set $wgDevelopmentWarnings to true on your wiki. Run test cases. See what causes warnings, and fix them.
Most prominently, the following functions have been deprecated:
* WikiPage::getText() was replaced by WikiPage::getContent() * Revision::getText() was replaced by Revision::getContent() * Article::getContent() was replaced by WikiPage::getContent()
The new functions all return Content objects instead of text.
Similarly, the ArticleSaveComplete hook and several more have been replaced by hooks that use Content objects instead of page text.
Please have a look at docs/contenthandler.txt for an overview of the architecture and a list of deprecated hooks.
-- daniel
PS: I'm unsure what level of backwarsd compatibility is desired for extensions. I have tried to by B/C in the SpamBlacklist extension, but didn't care about it for TitleBlacklist and Gadgets... could fix that, if it's required.