|
@@ 247-252 (lines=6) @@
|
| 244 |
|
|
| 245 |
|
// Now do the same, if we have an edit summary |
| 246 |
|
if ($row['rev_minor_edit'] == 0) { |
| 247 |
|
if ($row['rev_comment'] !== '') { |
| 248 |
|
isset($monthEditsummaryTotals[$monthkey]) ? |
| 249 |
|
$monthEditsummaryTotals[$monthkey]++ : |
| 250 |
|
$monthEditsummaryTotals[$monthkey] = 1; |
| 251 |
|
$totalSummariesMajor++; |
| 252 |
|
} |
| 253 |
|
|
| 254 |
|
// Now do the same for recent edits |
| 255 |
|
$totalEditsMajor++; |
|
@@ 265-273 (lines=9) @@
|
| 262 |
|
} else { |
| 263 |
|
// The exact same procedure as documented above for minor edits |
| 264 |
|
// If there is a comment, count it |
| 265 |
|
if ($row['rev_comment'] !== '') { |
| 266 |
|
isset($monthEditsummaryTotals[$monthkey]) ? |
| 267 |
|
$monthEditsummaryTotals[$monthkey]++ : |
| 268 |
|
$monthEditsummaryTotals[$monthkey] = 1; |
| 269 |
|
$totalSummariesMinor++; |
| 270 |
|
$totalEditsMinor++; |
| 271 |
|
} else { |
| 272 |
|
$totalEditsMinor++; |
| 273 |
|
} |
| 274 |
|
|
| 275 |
|
// Handle recent edits |
| 276 |
|
if ($recentEditsMinor < 150) { |