Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -195,7 +195,7 @@ |
196 | 196 | // $this->addFieldsIf('rev_text_id', $this->fld_ids); // Should this field be exposed? |
197 | 197 | $this->addFieldsIf('rev_comment', $this->fld_comment); |
198 | 198 | $this->addFieldsIf('rev_minor_edit', $this->fld_flags); |
199 | | - $this->addFieldsIf('page_is_new', $this->fld_flags); |
| 199 | + $this->addFieldsIf('rev_parent_id', $this->fld_flags); |
200 | 200 | } |
201 | 201 | |
202 | 202 | /** |
— | — | @@ -220,7 +220,7 @@ |
221 | 221 | $vals['timestamp'] = wfTimestamp(TS_ISO_8601, $row->rev_timestamp); |
222 | 222 | |
223 | 223 | if ($this->fld_flags) { |
224 | | - if ($row->page_is_new) |
| 224 | + if ($row->rev_parent_id == 0) |
225 | 225 | $vals['new'] = ''; |
226 | 226 | if ($row->rev_minor_edit) |
227 | 227 | $vals['minor'] = ''; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -64,6 +64,8 @@ |
65 | 65 | * (bug 16844) Added clcategories parameter to prop=categories |
66 | 66 | * (bug 17025) Added siprop=fileextension to meta=siteinfo |
67 | 67 | * (bug 17027) Added siprop=configvars to meta=siteinfo |
| 68 | +* (bug 17048) Show the 'new' flag in list=usercontribs for the revision that created the |
| 69 | + page, even if it's not the top revision |
68 | 70 | |
69 | 71 | === Languages updated in 1.15 === |
70 | 72 | |