X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FLinker.php;h=b58dabab9d597b456469ebe17b097a74ed5eb198;hb=5205405385397782b5288b429f49c9d8c97ac6c6;hp=dd224efd4cfcdf661bde32b1426dd8a0ed39b324;hpb=5f9671b66e542ce835e1ef7876cadf4c2aedb919;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Linker.php b/includes/Linker.php index dd224efd4c..b58dabab9d 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1388,7 +1388,9 @@ class Linker { * * @return string */ - public static function formatLinksInComment( $comment, $title = null, $local = false, $wikiId = null ) { + public static function formatLinksInComment( + $comment, $title = null, $local = false, $wikiId = null + ) { return preg_replace_callback( '/ \[\[ @@ -1750,14 +1752,6 @@ class Linker { $link, $legacyAnchor = false ) { $ret = " '#' . $anchor, - 'class' => 'mw-headline-anchor', - 'title' => wfMessage( 'headline-anchor-title' )->text() - ), - wfMessage( 'section-symbol' )->text() - ) . "$html" . $link . "";