added {{ to wfEscapeWikiText, so that the deletion log looks nicer (requested on...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 12 Aug 2004 01:27:31 +0000 (01:27 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 12 Aug 2004 01:27:31 +0000 (01:27 +0000)
includes/GlobalFunctions.php

index 7508fb9..c742780 100644 (file)
@@ -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( '&#91;', '&#124;', '&#39;', 'ISBN&#32;', '&#58;//' , "\n&#61;" ),
+       $text = str_replace( 
+               array( '[',             '|',      "'",     'ISBN '        , '://'         , "\n=", '{{' ),
+               array( '&#91;', '&#124;', '&#39;', 'ISBN&#32;', '&#58;//' , "\n&#61;", '&#123;&#123;' ),
                htmlspecialchars($text) );
        return $text;
 }