From 17633ab92a4f17cf77d31bbb1b1c74cff37278c3 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 14 Apr 2006 04:19:10 +0000 Subject: [PATCH] (bug 5184) CSS misapplied to elements in Special:Allmessages due to conflicting anchor identifiers [keep the anchors (useful), but prefix with msg_ to avoid collisions] --- RELEASE-NOTES | 2 ++ includes/SpecialAllmessages.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 38b7534920..bef30ddc4a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -64,6 +64,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 3359) Add hooks on completion of file upload * (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist] * (bug 5475) New pages feeds ignore "limit" argument +* (bug 5184) CSS misapplied to elements in Special:Allmessages due to conflicting + anchor identifiers == Compatibility == diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index 621a8d5602..040d9a05a1 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -168,7 +168,7 @@ function makeHTMLText( $messages ) { $talkLink = $sk->makeBrokenLinkObj( $talkPage, htmlspecialchars( $talk ) ); } - $anchor = htmlspecialchars( strtolower( $title ) ); + $anchor = 'msg_' . htmlspecialchars( strtolower( $title ) ); $anchor = ""; if($changed) { -- 2.20.1