We don't need anything from the marker. The title is outside.
authorPlatonides <platonides@users.mediawiki.org>
Fri, 7 Oct 2011 21:05:22 +0000 (21:05 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 7 Oct 2011 21:05:22 +0000 (21:05 +0000)
includes/parser/ParserOutput.php

index 1a43620..d7a674c 100644 (file)
@@ -159,7 +159,7 @@ class ParserOutput extends CacheTime {
                        return preg_replace_callback( ParserOutput::EDITSECTION_REGEX,
                                array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText );
                } else {
-                       return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText );
+                       return preg_replace( ParserOutput::EDITSECTION_REGEX, '', $this->mText );
                }
                return $this->mText;
        }