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:
21d4553
)
Treat interwiki titles as known-bad in LinkCache, prevents useless queries for interw...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 22 Dec 2010 15:54:27 +0000
(15:54 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 22 Dec 2010 15:54:27 +0000
(15:54 +0000)
includes/LinkCache.php
patch
|
blob
|
history
diff --git
a/includes/LinkCache.php
b/includes/LinkCache.php
index
dce3459
..
767b323
100644
(file)
--- a/
includes/LinkCache.php
+++ b/
includes/LinkCache.php
@@
-136,7
+136,7
@@
class LinkCache {
wfProfileIn( __METHOD__ );
$key = $nt->getPrefixedDBkey();
- if ( $this->isBadLink( $key ) ) {
+ if ( $this->isBadLink( $key )
|| $nt->isExternal()
) {
wfProfileOut( __METHOD__ );
return 0;
}