In Article::doDeleteArticle(), the code for updating the category counters is executed after the delete on the categorylinks table, so the query
- Fix category table counts
$cats = array(); $res = $dbw->select( 'categorylinks', 'cl_to', array( 'cl_from' => $id ), __METHOD__ );
will never return a result. Thus, the category counters aren't updated at all on article deletions.
Version: unspecified
Severity: minor
URL: http://en.wikipedia.org/wiki/Category:Articles_for_deletion