From: Rob Church Date: Sat, 25 Feb 2006 17:23:23 +0000 (+0000) Subject: Revert Tim's changes to category links, owing to the wave of people objecting and... X-Git-Tag: 1.6.0~275 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=4f17b85e4e0e42b73242656c376db1370f26a5bf;p=lhc%2Fweb%2Fwiklou.git Revert Tim's changes to category links, owing to the wave of people objecting and his comment to revert if desired. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 52a6d28e57..2fd0757575 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -655,8 +655,6 @@ 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. * Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow updated language code assignments diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 32e60bc5d7..510b9eb0a1 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->makeKnownLinkObj( $title, $text ); + $this->mCategoryLinks[] = $sk->makeLinkObj( $title, $text ); } }