https://bugzilla.wikimedia.org/show_bug.cgi?id=17155
Summary: Category counter not updated on article deletion
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://en.wikipedia.org/wiki/Category:Articles_for_delet
ion
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Categories
AssignedTo: [email protected]
ReportedBy: [email protected]
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l