From 67e24e6f04928c75fb2fa4d020898710f04e4510 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 20 Jan 2009 22:32:25 +0000 Subject: [PATCH] Revert r45788 "Page moves should not be minor edits" Would prefer to see some discussion first; it's not obvious whether the change is needed/wanted. --- RELEASE-NOTES | 1 - includes/Title.php | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fc015a0c9b..132890a89f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -53,7 +53,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 16852) padleft and padright now handle multibyte characters correctly * (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if the destination page exists -* Page moves should not be minor edits * (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has been disabled * Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class) diff --git a/includes/Title.php b/includes/Title.php index 93395f03f1..8ec621721f 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2664,7 +2664,7 @@ class Title { } # Save a null revision in the page's history notifying of the move - $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, false ); + $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, true ); $nullRevId = $nullRevision->insertOn( $dbw ); $article = new Article( $this ); @@ -2763,7 +2763,7 @@ class Title { $now = $dbw->timestamp(); # Save a null revision in the page's history notifying of the move - $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, false ); + $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, true ); $nullRevId = $nullRevision->insertOn( $dbw ); $article = new Article( $this ); -- 2.20.1