From a1f0bb580119b19d41557643047233609a7baa08 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 24 Feb 2006 01:38:06 +0000 Subject: [PATCH] Make links to categories in the catlinks box blue whether the target page exists or not. --- RELEASE-NOTES | 2 ++ includes/OutputPage.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c9c977c7e7..e29c0f2d48 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 510b9eb0a1..32e60bc5d7 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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 ); } } -- 2.20.1