From 986141bb43dfb56518c645b4de9eb9d65c89feaa Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 17 Jan 2007 18:31:30 +0000 Subject: [PATCH] (bug 8676) Regression in previewing deleted revisions; use $this->mTargetObj, not the protected $archive->title --- includes/SpecialUndelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 3d4f5ceb36..888661b287 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -614,7 +614,7 @@ class UndeleteForm { if( $this->mPreview ) { $wgOut->addHtml( "
\n" ); - $wgOut->addWikiTextTitle( $rev->getText(), $archive->title, false ); + $wgOut->addWikiTextTitle( $rev->getText(), $this->mTargetObj, false ); } $wgOut->addHtml( -- 2.20.1