X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStatus.php;h=f17f173edc4ca9a26448cbbe5940dbf5e043a16f;hb=816ac899a7087a79e1d23b5efe867987e6dc3233;hp=a35af6e8c6be9560da0aa7137e09cff36353ebc9;hpb=891262fa8383d818655198e2a61cc1c0dfebb57b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Status.php b/includes/Status.php index a35af6e8c6..f17f173edc 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -316,7 +316,9 @@ class Status extends StatusValue { $lang = $this->languageFromParam( $lang ); $text = $this->getWikiText( $shortContext, $longContext, $lang ); $out = MessageCache::singleton()->parse( $text, null, true, true, $lang ); - return $out instanceof ParserOutput ? $out->getText() : $out; + return $out instanceof ParserOutput + ? $out->getText( [ 'enableSectionEditLinks' => false ] ) + : $out; } /**