From f98138ce14b358d897abe0ca3430174cc15ba405 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 5 May 2008 18:00:45 +0000 Subject: [PATCH] Remove some emotional outbursts --- includes/GlobalFunctions.php | 2 -- includes/Parser.php | 2 +- includes/Parser_OldPP.php | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index fb2dfaa66e..148805a455 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2020,8 +2020,6 @@ function wfRelativePath( $path, $from ) { * arrays to be randomly corrupted just because some of them consist * of numbers. * - * Fuck you, PHP. Fuck you in the ear! - * * @param array $array1, [$array2, [...]] * @return array */ diff --git a/includes/Parser.php b/includes/Parser.php index a5162d6aa7..db896ae4e4 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1570,7 +1570,7 @@ class Parser if ( preg_match( $e1, $line, $m ) ) { # page with normal text or alt $text = $m[2]; # If we get a ] at the beginning of $m[3] that means we have a link that's something like: - # [[Image:Foo.jpg|[http://example.com desc]]] <- having three ] in a row fucks up, + # [[Image:Foo.jpg|[http://example.com desc]]] <- having three ] in a row messes up, # the real problem is with the $e1 regex # See bug 1300. # diff --git a/includes/Parser_OldPP.php b/includes/Parser_OldPP.php index 840b1c695c..1a9438b8ec 100644 --- a/includes/Parser_OldPP.php +++ b/includes/Parser_OldPP.php @@ -1583,7 +1583,7 @@ class Parser_OldPP if ( preg_match( $e1, $line, $m ) ) { # page with normal text or alt $text = $m[2]; # If we get a ] at the beginning of $m[3] that means we have a link that's something like: - # [[Image:Foo.jpg|[http://example.com desc]]] <- having three ] in a row fucks up, + # [[Image:Foo.jpg|[http://example.com desc]]] <- having three ] in a row messes up, # the real problem is with the $e1 regex # See bug 1300. # -- 2.20.1