Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -53,6 +53,7 @@ |
54 | 54 | // Enumerating revisions on multiple pages make it extremelly |
55 | 55 | // difficult to manage continuations and require additional sql indexes |
56 | 56 | $enumRevMode = (!is_null($user) || !is_null($excludeuser) || !is_null($limit) || !is_null($startid) || !is_null($endid) || $dir === 'newer' || !is_null($start) || !is_null($end)); |
| 57 | + |
57 | 58 | |
58 | 59 | $pageSet = $this->getPageSet(); |
59 | 60 | $pageCount = $pageSet->getGoodTitleCount(); |
— | — | @@ -133,7 +134,7 @@ |
134 | 135 | // one row with the same timestamp for the same page. |
135 | 136 | // The order needs to be the same as start parameter to avoid SQL filesort. |
136 | 137 | |
137 | | - if (is_null($startid)) |
| 138 | + if (is_null($startid) && is_null($endid)) |
138 | 139 | $this->addWhereRange('rev_timestamp', $dir, $start, $end); |
139 | 140 | else |
140 | 141 | $this->addWhereRange('rev_id', $dir, $startid, $endid); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -95,6 +95,7 @@ |
96 | 96 | * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page. |
97 | 97 | * (bug 11404) Provide name of exception caught in error code field of internal api |
98 | 98 | error messages. |
| 99 | +* (bug 11534) rvendid doesn't work |
99 | 100 | |
100 | 101 | === Languages updated in 1.12 === |
101 | 102 | |