LinkHolderArray: Title::makeTitle() does not return null
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 13 May 2016 06:27:38 +0000 (23:27 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 13 May 2016 06:29:16 +0000 (23:29 -0700)
Change-Id: I587a34459d4bcc1bae33631561fa6d4a91dfa4a5

includes/parser/LinkHolderArray.php

index 1ff49ee..bd969a5 100644 (file)
@@ -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