From 251bef7543c856b16ecfdba3308dca2909a969a3 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Thu, 25 Aug 2011 07:03:25 +0000 Subject: [PATCH] Use getLinkURL instead of getLocalURL for titles from MediaWiki:Sidebar so that #Fragments are not discarded when the user uses them. --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index fada374d50..36d56c604b 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1168,7 +1168,7 @@ abstract class Skin extends ContextSource { if ( $title ) { $title = $title->fixSpecialName(); - $href = $title->getLocalURL(); + $href = $title->getLinkURL(); } else { $href = 'INVALID-TITLE'; } -- 2.20.1