Bug 39509: Function for running legacy hooks.
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 20 Aug 2012 17:28:20 +0000 (19:28 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 20 Aug 2012 20:00:52 +0000 (22:00 +0200)
commit74fe09ed4dcc59ae660fe9ba794111bf03638b97
treea71ed7e02a18fe0851593e817a51c2597b61ec46
parent0139923580d49247e1f92ac0346522c3ef16806b
Bug 39509: Function for running legacy hooks.

ContentHandler::runLegacyHooks can be used to run hooks that don't
supprot Content objects yet. runLegacyHooks will issue a warning and take
case of serialization/unserialization of the content as appropriate.

Changeset 2: rebased.

Change-Id: I31109061110f87c38bdeebf30d520c8e1241bb29
includes/Article.php
includes/ContentHandler.php
includes/EditPage.php
includes/WikiPage.php
includes/diff/DifferenceEngine.php
tests/phpunit/includes/ContentHandlerTest.php