From d72d301a06376888781177a2040634f9387bdb30 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 9 Aug 2010 20:36:21 +0000 Subject: [PATCH] * (bug 21052) Fix link color for stubs in NewPages --- RELEASE-NOTES | 1 + includes/specials/SpecialNewpages.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6e7a3a9cca..82790c150d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -286,6 +286,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN to avoid query errors about duplicate keynames. * (bug 15470) First letters of filenames are always capitalized by upload JS. * (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules +* (bug 21052) Fix link color for stubs in NewPages === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index 54fedea971..6c261fd336 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -280,7 +280,8 @@ class SpecialNewpages extends IncludableSpecialPage { $title, null, array( 'class' => 'mw-newpages-pagename' ), - $query + $query, + array( 'known' ) // Set explicitly to avoid the default of 'known','noclasses'. This breaks the colouration for stubs ); $histLink = $this->skin->linkKnown( $title, -- 2.20.1