Use the specified page ID for LinksDeletionUpdate
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 13 Jun 2016 09:20:49 +0000 (02:20 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 13 Jun 2016 09:20:49 +0000 (02:20 -0700)
commitdfc043b119213d80105c9e19991f0257a0d59a22
treec7f661216f3dee9942cee070904abbc8e7020cf2
parent55fb7037ec9d99f50ead668ca6874514bff6f0e6
Use the specified page ID for LinksDeletionUpdate

This makes LinksDeleteJob use the correct page ID when a new
page was later created at the title. The links and protection
rows to clear should always be for the ID of the actual page
being deleted.

This fixes a bug when pages are moved over redirects.

Bug: T128624
Change-Id: Id67a021539b97020e8dd32d56dba1b77c806f31c
includes/deferred/LinksDeletionUpdate.php