From 3ba0d70b061b78aeb7ce48f9b156e3345a216fe3 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 22 Dec 2010 15:54:27 +0000 Subject: [PATCH] Treat interwiki titles as known-bad in LinkCache, prevents useless queries for interwiki titles with possibly misleading results --- includes/LinkCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/LinkCache.php b/includes/LinkCache.php index dce345926b..767b32372c 100644 --- 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; } -- 2.20.1