From f99f4945a5413f1c6840bcae00b47a734b339da2 Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 30 May 2012 23:06:26 +0200 Subject: [PATCH] Change of Title->exists() to Title->isKnown() for subpage links isKnown() calls both exists() and isAlwaysKnown(), so subpage links below the page title are also added for pages that "always exist", as can be changed through a hook Change-Id: I345bb8e6e611afd53afbc7b2d92910e360f598ee --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index 64cf569796..5d54a3f42c 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -727,7 +727,7 @@ abstract class Skin extends ContextSource { $display .= $link; $linkObj = Title::newFromText( $growinglink ); - if ( is_object( $linkObj ) && $linkObj->exists() ) { + if ( is_object( $linkObj ) && $linkObj->isKnown() ) { $getlink = Linker::linkKnown( $linkObj, htmlspecialchars( $display ) -- 2.20.1