r16889 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16888‎ | r16889 | r16890 >
Date:11:53, 9 October 2006
Author:jeluf
Status:old
Tags:
Comment:
(bug 7529) Including a non-existent category in an article places that article in the category
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3014,7 +3014,7 @@
30153015
30163016 # If the title is valid but undisplayable, make a link to it
30173017 if ( !$found && ( $this->ot['html'] || $this->ot['pre'] ) ) {
3018 - $text = "[[$titleText]]";
 3018+ $text = "[[:$titleText]]";
30193019 $found = true;
30203020 }
30213021 } elseif ( $title->isTrans() ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -278,6 +278,7 @@
279279 * (bug 7520) Update article counts on XML import
280280 * (bug 7526) Make $wgDefaultUserOptions work again
281281 * (bug 7472) Localize Help namespace for Basque
 282+* (bug 7529) Including a non-existent category in an article places that article in the category
282283
283284
284285 == Languages updated ==