Old link is not always known, it depends on $createRedirect
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 17 Oct 2011 09:11:07 +0000 (09:11 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 17 Oct 2011 09:11:07 +0000 (09:11 +0000)
includes/specials/SpecialMovepage.php

index 8b52fd8..d6ac2c8 100644 (file)
@@ -536,7 +536,7 @@ class MovePageForm extends UnlistedSpecialPage {
                                        if ( $this->fixRedirects ) {
                                                DoubleRedirectJob::fixRedirects( 'move', $oldSubpage, $newSubpage );
                                        }
-                                       $oldLink = Linker::linkKnown(
+                                       $oldLink = Linker::link(
                                                $oldSubpage,
                                                null,
                                                array(),