Index: trunk/extensions/CodeReview/codereview.sql |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | cr_diff mediumblob NULL, |
67 | 67 | -- Text flags: gzip,utf-8,external |
68 | 68 | cr_flags tinyblob NOT NULL, |
69 | | - |
| 69 | + |
70 | 70 | primary key (cr_repo_id, cr_id) |
71 | 71 | ) /*$wgDBTableOptions*/; |
72 | 72 | |
— | — | @@ -236,10 +236,10 @@ |
237 | 237 | -- Type of signoff. Current values: 'inspected', 'tested' |
238 | 238 | -- See CodeRevision::getPossibleFlags() (in backend/CodeRevision.php) for most up to date list |
239 | 239 | cs_flag varchar(25) not null, |
240 | | - |
| 240 | + |
241 | 241 | -- Timestamp of the sign-off |
242 | 242 | cs_timestamp binary(14) not null default '', |
243 | | - |
| 243 | + |
244 | 244 | -- Timestamp the sign-off was struck, or Block::infinity() if not struck |
245 | 245 | cs_timestamp_struck varbinary(14) not null default 'infinity' |
246 | 246 | ) /*$wgDBTableOptions*/; |
Index: trunk/extensions/CodeReview/api/ApiQueryCodeComments.php |
— | — | @@ -152,7 +152,7 @@ |
153 | 153 | public function getExamples() { |
154 | 154 | return array( |
155 | 155 | 'api.php?action=query&list=codecomments&ccrepo=MediaWiki', |
156 | | - 'api.php?action=query&list=codecomments&ccrepo=MediaWiki&ccprop=timestamp|user|revision|text', |
| 156 | + 'api.php?action=query&list=codecomments&ccrepo=MediaWiki&ccprop=timestamp|user|status|text', |
157 | 157 | ); |
158 | 158 | } |
159 | 159 | |