| @@ 188-196 (lines=9) @@ | ||
| 185 | } |
|
| 186 | $total++; |
|
| 187 | ||
| 188 | if ($row['page_is_redirect']) { |
|
| 189 | $redirectTotal++; |
|
| 190 | // Redirects |
|
| 191 | if (isset($countsByNamespace[$row['namespace']]['redirect'])) { |
|
| 192 | $countsByNamespace[$row['namespace']]['redirect']++; |
|
| 193 | } else { |
|
| 194 | $countsByNamespace[$row['namespace']]['redirect'] = 1; |
|
| 195 | } |
|
| 196 | } |
|
| 197 | ||
| 198 | if ($row['type'] === 'arc') { |
|
| 199 | $deletedTotal++; |
|
| @@ 198-206 (lines=9) @@ | ||
| 195 | } |
|
| 196 | } |
|
| 197 | ||
| 198 | if ($row['type'] === 'arc') { |
|
| 199 | $deletedTotal++; |
|
| 200 | // Deleted |
|
| 201 | if (isset($countsByNamespace[$row['namespace']]['deleted'])) { |
|
| 202 | $countsByNamespace[$row['namespace']]['deleted']++; |
|
| 203 | } else { |
|
| 204 | $countsByNamespace[$row['namespace']]['deleted'] = 1; |
|
| 205 | } |
|
| 206 | } |
|
| 207 | } |
|
| 208 | ||
| 209 | if ($total < 1) { |
|