From 69257c87ace5058e014b0c2cfd328cfa8dd7eea1 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 12 May 2016 23:27:38 -0700 Subject: [PATCH] LinkHolderArray: Title::makeTitle() does not return null Change-Id: I587a34459d4bcc1bae33631561fa6d4a91dfa4a5 --- includes/parser/LinkHolderArray.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php index 1ff49ee18e..bd969a5421 100644 --- a/includes/parser/LinkHolderArray.php +++ b/includes/parser/LinkHolderArray.php @@ -504,9 +504,6 @@ class LinkHolderArray { } $variantTitle = Title::makeTitle( $ns, $textVariant ); - if ( is_null( $variantTitle ) ) { - continue; - } // Self-link checking for mixed/different variant titles. At this point, we // already know the exact title does not exist, so the link cannot be to a -- 2.20.1