r77735 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77734‎ | r77735 | r77736 >
Date:18:52, 4 December 2010
Author:demon
Status:ok
Tags:
Comment:
MFT r72116
Modified paths:
  • /branches/wmf/1.16wmf4/includes/api/ApiQueryRevisions.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/api/ApiQueryRevisions.php
@@ -125,7 +125,7 @@
126126 }
127127
128128 $db = $this->getDB();
129 - $this->addTables( array( 'page', 'revision' ) );
 129+ $this->addTables( 'page' );
130130 $this->addFields( Revision::selectFields() );
131131 $this->addWhere( 'page_id = rev_page' );
132132
@@ -189,6 +189,9 @@
190190 $this->section = false;
191191 }
192192
 193+ //Bug 24166 - API error when using rvprop=tags
 194+ $this->addTables( 'revision' );
 195+
193196 $userMax = ( $this->fld_content ? ApiBase::LIMIT_SML1 : ApiBase::LIMIT_BIG1 );
194197 $botMax = ( $this->fld_content ? ApiBase::LIMIT_SML2 : ApiBase::LIMIT_BIG2 );
195198 $limit = $params['limit'];
Property changes on: branches/wmf/1.16wmf4/includes/api/ApiQueryRevisions.php
___________________________________________________________________
Added: svn:mergeinfo
196199 Merged /branches/wmf-deployment/includes/api/ApiQueryRevisions.php:r53381,59952,60970
197200 Merged /branches/REL1_15/phase3/includes/api/ApiQueryRevisions.php:r51646
198201 Merged /branches/REL1_16/phase3/includes/api/ApiQueryRevisions.php:r69932
199202 Merged /branches/sqlite/includes/api/ApiQueryRevisions.php:r58211-58321
200203 Merged /trunk/phase3/includes/api/ApiQueryRevisions.php:r63549,63764,63897-63901,64454,66486,69339,69347,69350,69369,69379,69776,69931,70078,71059,71098,72116,77555,77558-77560,77563-77565,77573

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72116* (bug 24166) API error when using rvprop=tags...reedy16:47, 1 September 2010

Status & tagging log