Treat interwiki titles as known-bad in LinkCache, prevents useless queries for interw...
[lhc/web/wiklou.git] / includes / LinkCache.php
index dce3459..767b323 100644 (file)
@@ -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;
                }