(bug 28553) Set ar_parent_id on deletion
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 26 Jul 2011 16:41:02 +0000 (16:41 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 26 Jul 2011 16:41:02 +0000 (16:41 +0000)
includes/WikiPage.php

index 10b4809..9c8eaea 100644 (file)
@@ -1655,6 +1655,7 @@ class WikiPage extends Page {
                                'ar_timestamp'  => 'rev_timestamp',
                                'ar_minor_edit' => 'rev_minor_edit',
                                'ar_rev_id'     => 'rev_id',
+                               'ar_parent_id'  => 'rev_parent_id',
                                'ar_text_id'    => 'rev_text_id',
                                'ar_text'       => '\'\'', // Be explicit to appease
                                'ar_flags'      => '\'\'', // MySQL's "strict mode"...