This version has just one change: hook functions which were previously object methods are now first-order (global) functions for MediaWiki installations less than 1.7.
What this means is that any servers running MediaWiki 1.7 or higher will see no change upgrading to 0.6.3. This only affects version 1.6 and lower, and only under certain circumstances.
I suspect there's a bug in the 1.6.x codebase, but I haven't done extensive testing to confirm. Here are the steps to produce the issue:
The issue happens when wgRunHooks() attempts to execute on the stack for the event listed above. You'll find (if the bug is occurring properly) that it fails with an error and backtrace, and the dump of $wgHooks will show that the object reference used in the original hook specification has been changed to NULL.
I suspect, this only happens on 1.6.x - though I've only tested on 1.6 and 1.10, so it's possible it happens in 1.9 also (no need to discuss 1.7 or 1.8 since they've cycled out).
The problem can be effectively avoided by shying away from object/method hooks in lieu of pure function hooks. To this end, the latest version of the WikiArticleFeeds Extension will check if the version is less than 1.7 and insert global functions to call as hooks instead of attempting an object/method strategy.As always, I'll be happy to answer any questions. Enjoy!
Got something to say?
or, read what others have said ...