(bug 5184) CSS misapplied to elements in Special:Allmessages due to conflicting ancho...
authorRob Church <robchurch@users.mediawiki.org>
Fri, 14 Apr 2006 04:19:10 +0000 (04:19 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Fri, 14 Apr 2006 04:19:10 +0000 (04:19 +0000)
RELEASE-NOTES
includes/SpecialAllmessages.php

index 38b7534..bef30dd 100644 (file)
@@ -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 ==
 
index 621a8d5..040d9a0 100644 (file)
@@ -168,7 +168,7 @@ function makeHTMLText( $messages ) {
                        $talkLink = $sk->makeBrokenLinkObj( $talkPage, htmlspecialchars( $talk ) );
                }
                
-               $anchor = htmlspecialchars( strtolower( $title ) );
+               $anchor = 'msg_' . htmlspecialchars( strtolower( $title ) );
                $anchor = "<a id=\"$anchor\" name=\"$anchor\"></a>";
 
                if($changed) {