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:
parent
6eb7b3475f
commit
ac97386173
1 changed files with 1 additions and 0 deletions
1
includes/cache/MessageCache.php
vendored
1
includes/cache/MessageCache.php
vendored
|
|
@ -132,6 +132,7 @@ class MessageCache {
|
|||
function getParserOptions() {
|
||||
if ( !$this->mParserOptions ) {
|
||||
$this->mParserOptions = new ParserOptions;
|
||||
$this->mParserOptions->setEditSection( false );
|
||||
}
|
||||
return $this->mParserOptions;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue