| @@ 272-280 (lines=9) @@ | ||
| 269 | } |
|
| 270 | $total++; |
|
| 271 | ||
| 272 | if ($row["page_is_redirect"]) { |
|
| 273 | $redirectTotal++; |
|
| 274 | // Redirects |
|
| 275 | if (isset($countsByNamespace[$row["namespace"]]["redirect"])) { |
|
| 276 | $countsByNamespace[$row["namespace"]]["redirect"]++; |
|
| 277 | } else { |
|
| 278 | $countsByNamespace[$row["namespace"]]["redirect"] = 1; |
|
| 279 | } |
|
| 280 | } |
|
| 281 | ||
| 282 | if ($row["type"] === "arc") { |
|
| 283 | $deletedTotal++; |
|
| @@ 282-290 (lines=9) @@ | ||
| 279 | } |
|
| 280 | } |
|
| 281 | ||
| 282 | if ($row["type"] === "arc") { |
|
| 283 | $deletedTotal++; |
|
| 284 | // Deleted |
|
| 285 | if (isset($countsByNamespace[$row["namespace"]]["deleted"])) { |
|
| 286 | $countsByNamespace[$row["namespace"]]["deleted"]++; |
|
| 287 | } else { |
|
| 288 | $countsByNamespace[$row["namespace"]]["deleted"] = 1; |
|
| 289 | } |
|
| 290 | } |
|
| 291 | } |
|
| 292 | ||
| 293 | if ($total < 1) { |
|