From: Raimond Spekking Date: Mon, 9 Aug 2010 20:36:21 +0000 (+0000) Subject: * (bug 21052) Fix link color for stubs in NewPages X-Git-Tag: 1.31.0-rc.0~35575 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=d72d301a06376888781177a2040634f9387bdb30;p=lhc%2Fweb%2Fwiklou.git * (bug 21052) Fix link color for stubs in NewPages --- 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,