(bug 7529) Including a non-existent category in an article places that article in...
authorJens Frank <jeluf@users.mediawiki.org>
Mon, 9 Oct 2006 11:53:12 +0000 (11:53 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Mon, 9 Oct 2006 11:53:12 +0000 (11:53 +0000)
RELEASE-NOTES
includes/Parser.php

index 3647f8a..4b09696 100644 (file)
@@ -278,6 +278,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 7520) Update article counts on XML import
 * (bug 7526) Make $wgDefaultUserOptions work again
 * (bug 7472) Localize Help namespace for Basque
+* (bug 7529) Including a non-existent category in an article places that article in the category
 
 
 == Languages updated ==
index bf386ae..7678344 100644 (file)
@@ -3014,7 +3014,7 @@ class Parser
 
                                        # If the title is valid but undisplayable, make a link to it
                                        if ( !$found && ( $this->ot['html'] || $this->ot['pre'] ) ) {
-                                               $text = "[[$titleText]]";
+                                               $text = "[[:$titleText]]";
                                                $found = true;
                                        }
                                } elseif ( $title->isTrans() ) {