X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStatus.php;h=f17f173edc4ca9a26448cbbe5940dbf5e043a16f;hb=f6a35d8674257bed158cabe5e541fc62973f1f8f;hp=a35af6e8c6be9560da0aa7137e09cff36353ebc9;hpb=2118d5cb99042be136b0517cb8ac7ab8344a97e1;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; } /**