Index: branches/wmf/1.16wmf4/includes/api/ApiQueryRevisions.php |
— | — | @@ -125,7 +125,7 @@ |
126 | 126 | } |
127 | 127 | |
128 | 128 | $db = $this->getDB(); |
129 | | - $this->addTables( array( 'page', 'revision' ) ); |
| 129 | + $this->addTables( 'page' ); |
130 | 130 | $this->addFields( Revision::selectFields() ); |
131 | 131 | $this->addWhere( 'page_id = rev_page' ); |
132 | 132 | |
— | — | @@ -189,6 +189,9 @@ |
190 | 190 | $this->section = false; |
191 | 191 | } |
192 | 192 | |
| 193 | + //Bug 24166 - API error when using rvprop=tags |
| 194 | + $this->addTables( 'revision' ); |
| 195 | + |
193 | 196 | $userMax = ( $this->fld_content ? ApiBase::LIMIT_SML1 : ApiBase::LIMIT_BIG1 ); |
194 | 197 | $botMax = ( $this->fld_content ? ApiBase::LIMIT_SML2 : ApiBase::LIMIT_BIG2 ); |
195 | 198 | $limit = $params['limit']; |
Property changes on: branches/wmf/1.16wmf4/includes/api/ApiQueryRevisions.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
196 | 199 | Merged /branches/wmf-deployment/includes/api/ApiQueryRevisions.php:r53381,59952,60970 |
197 | 200 | Merged /branches/REL1_15/phase3/includes/api/ApiQueryRevisions.php:r51646 |
198 | 201 | Merged /branches/REL1_16/phase3/includes/api/ApiQueryRevisions.php:r69932 |
199 | 202 | Merged /branches/sqlite/includes/api/ApiQueryRevisions.php:r58211-58321 |
200 | 203 | 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 |