From 47944d1d3b2fcd5033d102ef75e0a694c95a34ec Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 17 Feb 2006 16:39:31 +0000 Subject: [PATCH] (bug 5018) Anchors for each message in Special:Allmessages --- RELEASE-NOTES | 1 + includes/SpecialAllmessages.php | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.20.1