From: Tim Starling Date: Thu, 12 Aug 2004 01:27:31 +0000 (+0000) Subject: added {{ to wfEscapeWikiText, so that the deletion log looks nicer (requested on... X-Git-Tag: 1.5.0alpha1~2407 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=631e737c7f4ad34db4d867623f3b4c8fa0f543b7;p=lhc%2Fweb%2Fwiklou.git added {{ to wfEscapeWikiText, so that the deletion log looks nicer (requested on #wikipedia) --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 7508fb9f60..c742780373 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -746,9 +746,9 @@ function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) { # start of a line, such as "*". function wfEscapeWikiText( $text ) { - $text = str_replace( - array( '[', '|', "'", 'ISBN ' , '://' , "\n=" ), - array( '[', '|', ''', 'ISBN ', '://' , "\n=" ), + $text = str_replace( + array( '[', '|', "'", 'ISBN ' , '://' , "\n=", '{{' ), + array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ), htmlspecialchars($text) ); return $text; }