Page MenuHomePhabricator

Refresh category counts for plwikisource
Closed, ResolvedPublic


Please, update category counters in plwikisource by running populateCategory.php .

As it is well-known problem category counters are sometimes not accurate for large categories (T18036: Number of category members (PAGESINCATEGORY) is inaccurate for large categories).
In mid-2012 we decided to adjust some large category counters by adding manual corrections to them on the pages where the values were used.
However, we found that since that time the difference between real category count and the counter is stable, at least for Category:Indeks (exactly the same difference now as 4,5 years ago).
So we hope the problem leading to this discrepancy is (at least partially) solved and we will get more accurate data without manual corrections (which we would like to drop).

I asked our community for an opinion about this task here:

Event Timeline

Dereckson renamed this task from Run populateCategory.php for plwikisource to Refresh category counts for plwikisource.EditedFeb 1 2017, 2:56 PM

Per T20488, probably best to use refreshCategoryCounts.

This maintenance script has been later removed.

$ mwscript populateCategory.php plwikisource --force
Category population complete.

Mentioned in SAL (#wikimedia-operations) [2017-02-01T15:17:40Z] <Dereckson> mwscript populateCategory.php plwikisource --force to refresh categories stats (T156670)

@Ankry are the statistics up to date now?

The counter for Category:Indeks seems to be OK. Thanks.