Make links to categories in the catlinks box blue whether the target page exists...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 24 Feb 2006 01:38:06 +0000 (01:38 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 24 Feb 2006 01:38:06 +0000 (01:38 +0000)
RELEASE-NOTES
includes/OutputPage.php

index c9c977c..e29c0f2 100644 (file)
@@ -651,6 +651,8 @@ fully support the editing toolbar, but was found to be too confusing.
 * (bug 4970) Make category paging limits configurable
 * (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't exist
 * Make Live Preview an user preference, still controllable by the global variable
+* Make links to categories in the catlinks box blue whether the target page exists 
+  or not.
 
 === Caveats ===
 
index 510b9eb..32e60bc 100644 (file)
@@ -227,7 +227,7 @@ class OutputPage {
                foreach ( $categories as $category => $arbitrary ) {
                        $title = Title::makeTitleSafe( NS_CATEGORY, $category );
                        $text = $wgContLang->convertHtml( $title->getText() );
-                       $this->mCategoryLinks[] = $sk->makeLinkObj( $title, $text );
+                       $this->mCategoryLinks[] = $sk->makeKnownLinkObj( $title, $text );
                }
        }