From: Sam Reed Date: Sat, 14 May 2011 14:44:37 +0000 (+0000) Subject: Fix line removedfor no explicit reason from r85771 X-Git-Tag: 1.31.0-rc.0~30196 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=4801267d0801b7f323f691c16c784b6cc9b613f0;p=lhc%2Fweb%2Fwiklou.git Fix line removedfor no explicit reason from r85771 --- diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 67c50f1ef7..b00db352ff 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -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' );