From: Platonides Date: Fri, 7 Oct 2011 21:00:06 +0000 (+0000) Subject: Forgot to commit this file in r99250. X-Git-Tag: 1.31.0-rc.0~27200 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=570b98453383a0e7c581a5550838a85a7c232de3;p=lhc%2Fweb%2Fwiklou.git Forgot to commit this file in r99250. --- diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 3e5a3f28f5..1a436201fa 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -158,6 +158,8 @@ class ParserOutput extends CacheTime { if ( $this->mEditSectionTokens ) { return preg_replace_callback( ParserOutput::EDITSECTION_REGEX, array( &$this, 'replaceEditSectionLinksCallback' ), $this->mText ); + } else { + return preg_replace( ParserOutput::EDITSECTION_REGEX, '\3', $this->mText ); } return $this->mText; }