MovePage: Fix old, old bug with moving over redirects
authorJames D. Forrester <jforrester@wikimedia.org>
Tue, 12 Apr 2016 21:39:49 +0000 (14:39 -0700)
committerReedy <reedy@wikimedia.org>
Sat, 30 Jul 2016 12:08:26 +0000 (12:08 +0000)
commit71e336981b5db53c9db614c18ee798863c3ded9c
tree31cb18784c89446aa3cb9631251578cd85eab22b
parent4de667f3c2dd2fea0f246a313a9ed848a793ed2f
MovePage: Fix old, old bug with moving over redirects

When moving over a redirect with no revs, there was a weird
hack to delete the old redirect page... without logs, or cleaning
up the orphaned revision. WHOOPS

Switched it to using the standard deletion, which seems to work.
Note this will produce a deletion log entry as well as a move log
entry. This may scare people.

Bug: T106119
Change-Id: I9645f23c5d6132abb304e254b039036ebca4b064
includes/MovePage.php