From: Brion Vibber Date: Tue, 20 Jan 2009 22:32:25 +0000 (+0000) Subject: Revert r45788 "Page moves should not be minor edits" X-Git-Tag: 1.31.0-rc.0~43338 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=67e24e6f04928c75fb2fa4d020898710f04e4510;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 );