X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FLinker.php;h=403b10a1495433738c9a9e2ae02bc9905f67ca0f;hp=c24ae417f188320a376f9b53b2692c0880358860;hb=5af3ad33ed1b27bd5f77038c89844d513d078cba;hpb=364dc598c1d03bf940f3bf94758fcbdd719b9c25 diff --git a/includes/Linker.php b/includes/Linker.php index c24ae417f1..403b10a149 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1175,7 +1175,7 @@ class Linker { $sectionTitle = Title::newFromText( '#' . $section ); } else { $sectionTitle = Title::makeTitleSafe( $title->getNamespace(), - $title->getDBkey(), $section ); + $title->getDBkey(), Sanitizer::decodeCharReferences( $section ) ); } if ( $sectionTitle ) { $link = Linker::makeCommentLink( $sectionTitle, $wgLang->getArrow(), $wikiId, 'noclasses' );