From: Tim Starling Date: Fri, 24 Feb 2006 01:38:06 +0000 (+0000) Subject: Make links to categories in the catlinks box blue whether the target page exists... X-Git-Tag: 1.6.0~294 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%22%7B%7Blocalurle:Special:Watchlist%7D%7D/%7B%7B%20url_for%28%27logout%27%29%20%7D%7D?a=commitdiff_plain;h=a1f0bb580119b19d41557643047233609a7baa08;p=lhc%2Fweb%2Fwiklou.git Make links to categories in the catlinks box blue whether the target page exists or not. --- 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 ); } }