From 3a787c2ac56ccfa30d3a7a4f2dae67aff1f2f0ac Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 29 May 2004 19:52:47 +0000 Subject: [PATCH] The cancel-button of edit pages did not work for UTF-8 encoded articles with special chars. BUG-ID #962848 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 808a52d777..5a488fa43a 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -305,7 +305,7 @@ class EditPage { $save = wfMsg( "savearticle" ); $prev = wfMsg( "showpreview" ); - $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedURL(), + $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(), wfMsg( "cancel" ) ); $edithelpurl = $sk->makeUrl( wfMsg( "edithelppage" )); $edithelp = '