Index: branches/REL1_16/phase3/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']; |
Index: branches/REL1_16/phase3/RELEASE-NOTES |
— | — | @@ -47,6 +47,7 @@ |
48 | 48 | == Changes since 1.16.0 == |
49 | 49 | * (bug 24981) Allow extensions to access SpecialUpload variables again |
50 | 50 | * (bug 24724) list=allusers is out by 1 (shows total users - 1) |
| 51 | +* (bug 24166) API error when using rvprop=tags |
51 | 52 | |
52 | 53 | == Changes since 1.16 beta 3 == |
53 | 54 | |