Index: trunk/phase3/includes/LinksUpdate.php |
— | — | @@ -310,7 +310,7 @@ |
311 | 311 | * @param $deleted array associative array of category name => sort key |
312 | 312 | */ |
313 | 313 | function updateCategoryCounts( $added, $deleted ) { |
314 | | - $a = new Article($this->mTitle); |
| 314 | + $a = WikiPage::factory( $this->mTitle ); |
315 | 315 | $a->updateCategoryCounts( |
316 | 316 | array_keys( $added ), array_keys( $deleted ) |
317 | 317 | ); |