From: Jens Frank Date: Sat, 29 May 2004 19:52:47 +0000 (+0000) Subject: The cancel-button of edit pages did not work for UTF-8 encoded articles with special... X-Git-Tag: 1.5.0alpha1~3151 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=3a787c2ac56ccfa30d3a7a4f2dae67aff1f2f0ac;p=lhc%2Fweb%2Fwiklou.git The cancel-button of edit pages did not work for UTF-8 encoded articles with special chars. BUG-ID #962848 --- 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 = '