From: Platonides Date: Sat, 19 May 2012 16:23:24 +0000 (+0200) Subject: Messages parsed through MessageCache should never show edit links. X-Git-Tag: 1.31.0-rc.0~23554 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ac97386173bde921e4c53c343bc7b40fcfb4d2b9;p=lhc%2Fweb%2Fwiklou.git Messages parsed through MessageCache should never show edit links. Copy to MessageCache.php the r92703 (d70ad8c) fix. Fixes bug 36975 Change-Id: I4551aa32b8ff04d2209807c188051878b033285e --- diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php index 91de65fd05..24f32d692f 100644 --- a/includes/cache/MessageCache.php +++ b/includes/cache/MessageCache.php @@ -132,6 +132,7 @@ class MessageCache { function getParserOptions() { if ( !$this->mParserOptions ) { $this->mParserOptions = new ParserOptions; + $this->mParserOptions->setEditSection( false ); } return $this->mParserOptions; }