Fix regression from r39373: * marks were changed to *? , which broke the colon in...
authorRotem Liss <rotem@users.mediawiki.org>
Mon, 18 Aug 2008 17:22:12 +0000 (17:22 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Mon, 18 Aug 2008 17:22:12 +0000 (17:22 +0000)
includes/Linker.php

index 7a7cb17..3485889 100644 (file)
@@ -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 );