From 29f9560c8cc7864beefadddb81e8134778dd507a Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Mon, 18 Aug 2008 17:22:12 +0000 Subject: [PATCH] Fix regression from r39373: * marks were changed to *? , which broke the colon in comments because the regexp did not recognize the post text. Reverting to the original regexp. Tested on some comments (as well as on Wikipedia:Translation/*/Lang/de mentioned in the previous commit), but if it breaks anything, please revert and fix in another way. --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index 7a7cb17265..3485889992 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1188,7 +1188,7 @@ class Linker { $this->autocommentTitle = $title; $this->autocommentLocal = $local; $comment = preg_replace_callback( - '!(.*?)/\*\s*(.*?)\s*\*/(.*?)!', + '!(.*)/\*\s*(.*?)\s*\*/(.*)!', array( $this, 'formatAutocommentsCallback' ), $comment ); unset( $this->autocommentTitle ); -- 2.20.1