From: Rob Church Date: Fri, 17 Feb 2006 16:39:31 +0000 (+0000) Subject: (bug 5018) Anchors for each message in Special:Allmessages X-Git-Tag: 1.6.0~327 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=47944d1d3b2fcd5033d102ef75e0a694c95a34ec;p=lhc%2Fweb%2Fwiklou.git (bug 5018) Anchors for each message in Special:Allmessages --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6aace8d639..7dacb7cc9e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -348,6 +348,7 @@ Special Pages: * Add block link and a link to the block log to Special:Contributions * Add contributions link to block log items * Added optional "hide own edits" feature to Special:Recentchanges +* (bug 5018) Anchors for each message in Special:Allmessages Misc.: * PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index 8238a4a8d1..8071a9d0a9 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -149,13 +149,16 @@ function makeHTMLText( $messages ) { } else { $talkLink = $sk->makeBrokenLinkObj( $talkPage, htmlspecialchars( $talk ) ); } + + $anchor = strtolower( $title ); + $anchor = ""; if($changed) { $txt .= " - $pageLink
$talkLink + $anchor$pageLink
$talkLink $message @@ -169,7 +172,7 @@ $mw $txt .= " - $pageLink
$talkLink + $anchor$pageLink
$talkLink $mw