From: Rob Church Date: Fri, 26 May 2006 23:15:37 +0000 (+0000) Subject: (bug 6103) Wrap self-links in a CSS class ("selflink") X-Git-Tag: 1.31.0-rc.0~57015 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=5990996523debf6b2e98f95d910ef634fe66db4a;p=lhc%2Fweb%2Fwiklou.git (bug 6103) Wrap self-links in a CSS class ("selflink") --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d83d45ee65..5d7eec83a6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -351,7 +351,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering problems. If errors are transitory, this should reduce annoying messages making it into cached display. - +* (bug 6103) Wrap self-links in a CSS class ("selflink") == Compatibility == diff --git a/includes/Linker.php b/includes/Linker.php index 4fe385f257..0bafe0e2e8 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -426,7 +426,7 @@ class Linker { $text = htmlspecialchars( $nt->getPrefixedText() ); } list( $inside, $trail ) = Linker::splitTrail( $trail ); - return "{$prefix}{$text}{$inside}{$trail}"; + return "{$prefix}{$text}{$inside}{$trail}"; } /** @todo document */