* (bug 21052) Fix link color for stubs in NewPages
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 9 Aug 2010 20:36:21 +0000 (20:36 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 9 Aug 2010 20:36:21 +0000 (20:36 +0000)
RELEASE-NOTES
includes/specials/SpecialNewpages.php

index 6e7a3a9..82790c1 100644 (file)
@@ -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.
index 54fedea..6c261fd 100644 (file)
@@ -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,