* (bug 4059) fix 'hide minor edits' on Recentchangeslinked
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 23 Nov 2005 20:14:36 +0000 (20:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 23 Nov 2005 20:14:36 +0000 (20:14 +0000)
Needed to change rev_minor_edit in where clause to rc_minor, can't
use the aliased column name there.

RELEASE-NOTES
includes/SpecialRecentchangeslinked.php

index cc5880a..3760de6 100644 (file)
@@ -244,6 +244,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * (bug 3886) Update for Portuguese language (pt)
 * (bug 4020) Update namespaces for ms
 * (bug 2894) Enhanced Recent Changes link fixes
+* (bug 4059) fix 'hide minor edits' on Recentchangeslinked
 
 
 === Caveats ===
index 0bc5077..363c22f 100644 (file)
@@ -59,7 +59,7 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
                  "&days={$days}&limit={$limit}&hideminor=1" );
        }
        if ( $hideminor ) {
-               $cmq = 'AND rev_minor_edit=0';
+               $cmq = 'AND rc_minor=0';
        } else { $cmq = ''; }
 
        extract( $dbr->tableNames( 'recentchanges', 'categorylinks', 'pagelinks', 'revision', 'page' ) );