X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Fcache%2FMessageCache.php;h=d5ff6cbc9ade9cec0a89ae3a6546c532ef8e81fa;hb=220bda9175a18458449e9d754fb48830c1f76f25;hp=63c03af25b865b2b5ffc94974e07566475176cb0;hpb=032428059eb010fafa09bac6ecfb0890d78ccfbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php index 63c03af25b..d5ff6cbc9a 100644 --- a/includes/cache/MessageCache.php +++ b/includes/cache/MessageCache.php @@ -191,13 +191,11 @@ class MessageCache { // ParserOptions for it. And don't cache this ParserOptions // either. $po = ParserOptions::newFromAnon(); - $po->setEditSection( false ); $po->setAllowUnsafeRawHtml( false ); return $po; } $this->mParserOptions = new ParserOptions; - $this->mParserOptions->setEditSection( false ); // Messages may take parameters that could come // from malicious sources. As a precaution, disable // the parser tag when parsing messages.