Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -136,7 +136,7 @@ |
137 | 137 | } |
138 | 138 | |
139 | 139 | $db = $this->getDB(); |
140 | | - $this->addTables( array( 'page', 'revision' ) ); |
| 140 | + $this->addTables( 'page' ); |
141 | 141 | $this->addFields( Revision::selectFields() ); |
142 | 142 | $this->addWhere( 'page_id = rev_page' ); |
143 | 143 | |
— | — | @@ -202,6 +202,9 @@ |
203 | 203 | } |
204 | 204 | } |
205 | 205 | |
| 206 | + //Bug 24166 - API error when using rvprop=tags |
| 207 | + $this->addTables( 'revision' ); |
| 208 | + |
206 | 209 | $userMax = ( $this->fld_content ? ApiBase::LIMIT_SML1 : ApiBase::LIMIT_BIG1 ); |
207 | 210 | $botMax = ( $this->fld_content ? ApiBase::LIMIT_SML2 : ApiBase::LIMIT_BIG2 ); |
208 | 211 | $limit = $params['limit']; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -376,6 +376,7 @@ |
377 | 377 | * For required string parameters, if '' is provided, this is now classed as |
378 | 378 | missing |
379 | 379 | * (bug 24724) list=allusers is out by 1 (shows total users - 1) |
| 380 | +* (bug 24166) API error when using rvprop=tags |
380 | 381 | |
381 | 382 | === Languages updated in 1.17 === |
382 | 383 | |