r9673 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9672‎ | r9673 | r9674 >
Date:07:00, 26 June 2005
Author:timstarling
Status:old
Tags:
Comment:
Fixed interwiki bug
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1992,9 +1992,12 @@
19931993 * have description pages in the database, but the description page contains
19941994 * useful history information that the user may want to link to.
19951995 *
 1996+ * Interwiki links are not in this category because of icky pass-interaction
 1997+ * issues. Anything containing http:// gets mangled later. Local URLs use
 1998+ * relative paths.
19961999 */
19972000 function isAlwaysKnown() {
1998 - return $this->isExternal() || ( 0 == $this->mNamespace && "" == $this->mDbkeyform )
 2001+ return ( 0 == $this->mNamespace && "" == $this->mDbkeyform )
19992002 || NS_SPECIAL == $this->mNamespace || NS_IMAGE == $this->mNamespace;
20002003 }
20012004

Status & tagging log