https://bugzilla.wikimedia.org/show_bug.cgi?id=11868
Krinkle <krinklem...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krinklem...@gmail.com --- Comment #21 from Krinkle <krinklem...@gmail.com> 2010-12-12 22:52:20 UTC --- (In reply to comment #16) > So we currently have *three different methods* of counting, all different: > > 1) on every page update: check for text containing '[[' > > This is the canonical version; updates to the count on edit assume that the > existing count was based on this -- the total count is incremented or > decremented based on changes in state of this check between previous and new > versions. > > > 2) on bulk initStats.php: check for non-empty text > > This will overcount, including pages which have text but no links. > > > 3) on bulk updateArticleCount.php: check for non-empty text and outgoing links > > This will overcount but not as much, including pages which transclude > templates > which themselves have links as well as extensions which record links but don't > contain '[[' in the actual text. > What's the status on this anno 2010 ? Still three methods ? I guess 3) makes the most sense. Then when saving an article it counts outgoing links again (which it needs to do to update pagelinks anyway). When changing templates, the job queue that updates caches within X minutes for tranclusions (whatlinkshere) etc. could be fixed to update this count as well. Anyway, keeping three different methods that are inconsistent which eachother seems a bad thing no matter how we look at it. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l