From 2f94b96f4363b86d2d377c1e83228ed5ab31ef54 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 16 Feb 2006 21:41:56 +0000 Subject: [PATCH] * Fix double-escaping of title in preview form * Use the right message for the preview button --- includes/SpecialUndelete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 7d55e0a21e..fce57e8ee5 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -424,7 +424,7 @@ class UndeleteForm { wfElement( 'input', array( 'type' => 'hidden', 'name' => 'target', - 'value' => $this->mTargetObj->getPrefixedUrl() ) ) . + 'value' => $this->mTargetObj->getPrefixedDbKey() ) ) . wfElement( 'input', array( 'type' => 'hidden', 'name' => 'timestamp', @@ -439,7 +439,7 @@ class UndeleteForm { 'value' => '1' ) ) . wfElement( 'input', array( 'type' => 'submit', - 'value' => wfMsg( 'preview' ) ) ) . + 'value' => wfMsg( 'showpreview' ) ) ) . wfCloseElement( 'form' ) . wfCloseElement( 'div' ) ); } -- 2.20.1