On Fri, Nov 11, 2011 at 5:50 AM, Mark A. Hershberger mhershberger@wikimedia.org wrote:
Yesterday a friend of mine discovered and filed a bug that highlights a backwards incompatibility introduced by 1.18.
The bug is "Moved ArticleSave hook breaks backward compatibility" (https://bugzilla.wikimedia.org/32318).
I found a number of public functions in the Article class that are not directly supported in WikiPage.
To be clear, I don't know how widely those public functions are used. They may be inconsequential. It may be only my friend who is likely to run into a problem on upgrading.
You would probably only run into trouble if you have custom (i.e. not in MW SVN) extensions or other custom code using those hooks. I hunted down and fixed all extensions in SVN using the no-longer-supported methods, and there weren't many of them. I think Aaron should have a big say in this seeing as he's the one that did all the WikiPage stuff, but I essentially see two options: put in some backwards compatibility hack (that we'll have to maintain forever) or accept this as a breaking change and announce it as such.
Roan