Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -317,6 +317,8 @@ |
318 | 318 | if ($this->fld_ids) { |
319 | 319 | $vals['revid'] = intval($revision->getId()); |
320 | 320 | // $vals['oldid'] = intval($row->rev_text_id); // todo: should this be exposed? |
| 321 | + if (!is_null($revision->getParentId())) |
| 322 | + $vals['parentid'] = intval($revision->getParentId()); |
321 | 323 | } |
322 | 324 | |
323 | 325 | if ($this->fld_flags && $revision->isMinor()) |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -340,6 +340,8 @@ |
341 | 341 | * (bug 11381) session.save_handler being set twice (causes error) |
342 | 342 | * (bug 17835) ForeignAPIRepo throwing error on first page load for file |
343 | 343 | * (bug 18115) ForeignAPIRepo cache isn't working |
| 344 | +* Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' |
| 345 | + after some parsed math syntax. |
344 | 346 | |
345 | 347 | == API changes in 1.15 == |
346 | 348 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |
— | — | @@ -393,8 +395,7 @@ |
394 | 396 | * Added uiprop=changeablegroups to meta=userinfo |
395 | 397 | * Added usprop=gender to list=users |
396 | 398 | * (bug 18311) action=purge now works for images too |
397 | | -* Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' |
398 | | - after some parsed math syntax. |
| 399 | +* Add parentid to prop=revisions output |
399 | 400 | |
400 | 401 | === Languages updated in 1.15 === |
401 | 402 | |