From 5990996523debf6b2e98f95d910ef634fe66db4a Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 26 May 2006 23:15:37 +0000 Subject: [PATCH] (bug 6103) Wrap self-links in a CSS class ("selflink") --- RELEASE-NOTES | 2 +- includes/Linker.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.20.1