Fix line removedfor no explicit reason from r85771
authorSam Reed <reedy@users.mediawiki.org>
Sat, 14 May 2011 14:44:37 +0000 (14:44 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 14 May 2011 14:44:37 +0000 (14:44 +0000)
includes/api/ApiQueryRecentChanges.php

index 67c50f1..b00db35 100644 (file)
@@ -252,6 +252,7 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                if ( $params['toponly'] || $showRedirects ) {
                        $this->addTables( 'page' );
                        $this->addJoinConds( array( 'page' => array( 'LEFT JOIN', array( 'rc_namespace=page_namespace', 'rc_title=page_title' ) ) ) );
+                       $this->addFields( 'page_is_redirect' );
 
                        if ( $params['toponly'] ) {
                                $this->addWhere( 'rc_this_oldid = page_latest' );