From e68b242f310bc876b6ec152a2e67ce706863f204 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 26 Jun 2005 07:00:41 +0000 Subject: [PATCH] Fixed interwiki bug --- includes/Title.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/Title.php b/includes/Title.php index 9348d34e2c..4f98258ed8 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1992,9 +1992,12 @@ class Title { * have description pages in the database, but the description page contains * useful history information that the user may want to link to. * + * Interwiki links are not in this category because of icky pass-interaction + * issues. Anything containing http:// gets mangled later. Local URLs use + * relative paths. */ function isAlwaysKnown() { - return $this->isExternal() || ( 0 == $this->mNamespace && "" == $this->mDbkeyform ) + return ( 0 == $this->mNamespace && "" == $this->mDbkeyform ) || NS_SPECIAL == $this->mNamespace || NS_IMAGE == $this->mNamespace; } -- 2.20.1