Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -209,6 +209,13 @@ |
210 | 210 | |
211 | 211 | /** |
212 | 212 | * Quickie protection against huuuuuuuuge batch inserts |
| 213 | + * |
| 214 | + * @param DatabaseBase $db |
| 215 | + * @param String $table |
| 216 | + * @param Array $data |
| 217 | + * @param string $method |
| 218 | + * @param array $options |
| 219 | + * @return void |
213 | 220 | */ |
214 | 221 | protected function insertChunks( $db, $table, $data, $method = __METHOD__, $options = array() ) { |
215 | 222 | $chunkSize = 100; |
Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | } |
36 | 36 | |
37 | 37 | $pathForm = $this->showForm(); |
38 | | - $wgOut->addHTML( $pathForm ); |
| 38 | + $wgOut->addHTML( $pathForm ); |
39 | 39 | |
40 | 40 | // Get the total count across all pages |
41 | 41 | $dbr = wfGetDB( DB_SLAVE ); |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | Xml::closeElement( 'form' ) |
66 | 66 | ); |
67 | 67 | |
68 | | - $wgOut->addHTML( $pathForm ); |
| 68 | + $wgOut->addHTML( $pathForm ); |
69 | 69 | } |
70 | 70 | |
71 | 71 | function doBatchChange() { |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | } |
176 | 176 | $ret .= "</tr></table></fieldset>" ; |
177 | 177 | |
178 | | - return $ret; |
| 178 | + return $ret; |
179 | 179 | } |
180 | 180 | |
181 | 181 | function getPager() { |
— | — | @@ -212,6 +212,9 @@ |
213 | 213 | } |
214 | 214 | } |
215 | 215 | |
| 216 | + /** |
| 217 | + * @todo Document |
| 218 | + */ |
216 | 219 | function getSpecializedWhereClause() { |
217 | 220 | return array(); |
218 | 221 | } |