In namespaceDupes.php, fix link tables
authorTim Starling <tstarling@wikimedia.org>
Fri, 13 Feb 2015 05:06:13 +0000 (16:06 +1100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 7 Sep 2015 06:42:02 +0000 (06:42 +0000)
commit9b685a4a52244db1489728f1397a7640a64f90da
tree931f4b4ed3422cf83f6314517dd6bf74274a556e
parent410984bdc79f9e45e865d6bb61079b45f4d7562d
In namespaceDupes.php, fix link tables

* Fix link destinations where a link was previously made to the
  pseudo-namespace. Don't do this for --source-pseudo-namespace since it
  only makes sense when the PDBK is essentially unchanged.
* Update pl_from_namespace, il_from_namespace and tl_from_namespace when
  moving a page.
* Run LinksDeletionUpdate::doUpdate() when deleting a page, so that
  referential integrity is preserved.

Change-Id: I584ead93d6267d1a2928ecbcdf8a4cd8e5aeef94
maintenance/namespaceDupes.php