LinksUpdate: Add functions returning changed page properties
authorcenarium <cenarium.sysop@gmail.com>
Thu, 28 Jan 2016 18:58:44 +0000 (19:58 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 29 Aug 2016 23:45:05 +0000 (16:45 -0700)
commitd88d902735ed17c6d9d0d8f00b6db2ff71f5fe07
tree768c461f7f7c4e3caf18b272fd071d2571ea48ff
parente227752be65a8fcef127ee0b2e9cc48dddd382cb
LinksUpdate: Add functions returning changed page properties

This adds getAddedProperties and getRemovedProperties functions
to LinksUpdate. They are available only after the update, so for
extensions in the LinksUpdateComplete hook. This is useful for
example if an extension caches a page property; if the property
gets changed it may want to purge the cache.

This is similar to the getAddedLinks and getRemovedLinks
functions.

Change-Id: I0c73b3d181f32502da75687857ae9aeff731f559
includes/deferred/LinksUpdate.php