Use getLinkURL instead of getLocalURL for titles from MediaWiki:Sidebar so that ...
authorDaniel Friesen <dantman@users.mediawiki.org>
Thu, 25 Aug 2011 07:03:25 +0000 (07:03 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Thu, 25 Aug 2011 07:03:25 +0000 (07:03 +0000)
includes/Skin.php

index fada374..36d56c6 100644 (file)
@@ -1168,7 +1168,7 @@ abstract class Skin extends ContextSource {
 
                                                if ( $title ) {
                                                        $title = $title->fixSpecialName();
-                                                       $href = $title->getLocalURL();
+                                                       $href = $title->getLinkURL();
                                                } else {
                                                        $href = 'INVALID-TITLE';
                                                }