Page moves should not be minor edits
authorThomas Dalton <tango@users.mediawiki.org>
Thu, 15 Jan 2009 22:08:37 +0000 (22:08 +0000)
committerThomas Dalton <tango@users.mediawiki.org>
Thu, 15 Jan 2009 22:08:37 +0000 (22:08 +0000)
RELEASE-NOTES
includes/Title.php

index 3e469ba..4dc2fc0 100644 (file)
@@ -42,6 +42,7 @@ 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
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 8ec6217..93395f0 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, true );
+               $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, false );
                $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, true );
+               $nullRevision = Revision::newNullRevision( $dbw, $oldid, $comment, false );
                $nullRevId = $nullRevision->insertOn( $dbw );
                
                $article = new Article( $this );