X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2FStatus.php;h=f17f173edc4ca9a26448cbbe5940dbf5e043a16f;hb=5caebf049326344eea2878e55c9e0f38e8fcab98;hp=a35af6e8c6be9560da0aa7137e09cff36353ebc9;hpb=bdfe02223205923d923923dd420ba0dd863cd0fe;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; } /**