Fix fatal error in I0349cfe0e322
authorThis, that and the other <at.light@live.com.au>
Tue, 4 Nov 2014 06:44:19 +0000 (17:44 +1100)
committerThis, that and the other <at.light@live.com.au>
Tue, 4 Nov 2014 06:44:19 +0000 (17:44 +1100)
Change-Id: I4ac41d56c2e0f98cd8f026c7deac1e8ab69e8d54

includes/MovePage.php

index beea776..96f8b31 100644 (file)
@@ -342,7 +342,7 @@ class MovePage {
 
                $dbw = wfGetDB( DB_MASTER );
 
-               $oldpage = WikiPage::factory( $this );
+               $oldpage = WikiPage::factory( $this->oldTitle );
                $oldcountable = $oldpage->isCountable();
 
                $newpage = WikiPage::factory( $nt );