Messages parsed through MessageCache should never show edit links.

Copy to MessageCache.php the r92703 (d70ad8c) fix.
Fixes bug 36975

Change-Id: I4551aa32b8ff04d2209807c188051878b033285e
This commit is contained in:
Platonides 2012-05-19 18:23:24 +02:00 committed by Reedy
parent 6eb7b3475f
commit ac97386173

View file

@ -132,6 +132,7 @@ class MessageCache {
function getParserOptions() {
if ( !$this->mParserOptions ) {
$this->mParserOptions = new ParserOptions;
$this->mParserOptions->setEditSection( false );
}
return $this->mParserOptions;
}