Messages parsed through MessageCache should never show edit links.
authorPlatonides <platonides@gmail.com>
Sat, 19 May 2012 16:23:24 +0000 (18:23 +0200)
committerReedy <reedy@wikimedia.org>
Mon, 21 May 2012 00:14:58 +0000 (01:14 +0100)
Copy to MessageCache.php the r92703 (d70ad8c) fix.
Fixes bug 36975

Change-Id: I4551aa32b8ff04d2209807c188051878b033285e

includes/cache/MessageCache.php

index 91de65f..24f32d6 100644 (file)
@@ -132,6 +132,7 @@ class MessageCache {
        function getParserOptions() {
                if ( !$this->mParserOptions ) {
                        $this->mParserOptions = new ParserOptions;
+                       $this->mParserOptions->setEditSection( false );
                }
                return $this->mParserOptions;
        }