Revert r45788 "Page moves should not be minor edits"
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 20 Jan 2009 22:32:25 +0000 (22:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 20 Jan 2009 22:32:25 +0000 (22:32 +0000)
Would prefer to see some discussion first; it's not obvious whether the change is needed/wanted.

RELEASE-NOTES
includes/Title.php

index fc015a0..132890a 100644 (file)
@@ -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)
index 93395f0..8ec6217 100644 (file)
@@ -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 );