Introduce ContentHandler::getSecondaryDataUpdates.
authordaniel <daniel.kinzler@wikimedia.de>
Fri, 9 Mar 2018 22:05:47 +0000 (23:05 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Fri, 14 Sep 2018 14:18:18 +0000 (16:18 +0200)
commit7960d5385f1146459671148e2e34d3ba50e17aeb
tree406afd11afb6407e34e779379a01dc4d0a5dd1cc
parentf48f27c2285ad09717de94d6321217ee844b7f85
Introduce ContentHandler::getSecondaryDataUpdates.

This adds getSecondaryDataUpdates and getDeletionUpdates
to ContentHandler, and updates WikiPage and DerivedPageDataUpdates
to handle DataUpdates from all slots.

Bug: T194038
Bug: T194037
Change-Id: I75c96318f58a5cdda48484f7040ae41e6f42392a
15 files changed:
RELEASE-NOTES-1.32
autoload.php
docs/hooks.txt
includes/Revision/RenderedRevision.php
includes/Revision/SlotRenderingProvider.php [new file with mode: 0644]
includes/Storage/DerivedPageDataUpdater.php
includes/content/Content.php
includes/content/ContentHandler.php
includes/page/Article.php
includes/page/WikiPage.php
tests/phpunit/includes/Storage/DerivedPageDataUpdaterTest.php
tests/phpunit/includes/content/WikitextContentHandlerTest.php
tests/phpunit/includes/page/WikiPageDbTestBase.php
tests/phpunit/includes/page/WikiPageMcrReadNewDbTest.php
tests/phpunit/includes/page/WikiPageNoContentModelDbTest.php