From 631e737c7f4ad34db4d867623f3b4c8fa0f543b7 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 12 Aug 2004 01:27:31 +0000 Subject: [PATCH] added {{ to wfEscapeWikiText, so that the deletion log looks nicer (requested on #wikipedia) --- includes/GlobalFunctions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.20.1