dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c2db0
)
LinkHolderArray: Title::makeTitle() does not return null
author
Kunal Mehta
<legoktm@member.fsf.org>
Fri, 13 May 2016 06:27:38 +0000
(23:27 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Fri, 13 May 2016 06:29:16 +0000
(23:29 -0700)
Change-Id: I587a34459d4bcc1bae33631561fa6d4a91dfa4a5
includes/parser/LinkHolderArray.php
patch
|
blob
|
history
diff --git
a/includes/parser/LinkHolderArray.php
b/includes/parser/LinkHolderArray.php
index
1ff49ee
..
bd969a5
100644
(file)
--- 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