From ece0b3e88f131bd4f00bd48b2f4931a31ea2aecc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 23 Nov 2005 20:14:36 +0000 Subject: [PATCH] * (bug 4059) fix 'hide minor edits' on Recentchangeslinked Needed to change rev_minor_edit in where clause to rc_minor, can't use the aliased column name there. --- RELEASE-NOTES | 1 + includes/SpecialRecentchangeslinked.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index cc5880a1e5..3760de6414 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index 0bc507729b..363c22f659 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -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' ) ); -- 2.20.1