"Magnus Manske" magnusmanske@googlemail.com wrote in message news:fab0ecb70802210312l221eec90w8fd73ebe1c019169@mail.gmail.com...
On Thu, Feb 21, 2008 at 10:55 AM, Mark Clements
gmane@kennel17.co.uk wrote:
How do you know whether a categorylinks item has been counted in the
total
count of items in the category? If the table is not populated via a migration script, i.e. entries are added as page edits are made, then a
few
deletions of pages that have not yet been added will cause you to end
up
with a negative count! Also, all counts will be wrong until all pages
have
been edited, which seems a bit pointless - am I misunderstanding
something
here?
You'd have to seed the counts once when the feature is turned on, of
course.
That's what I would have thought, but this comment about not requiring a migration script implied otherwise:
On Thu, Feb 21, 2008 at 4:52 AM, Andrew Garrett andrew@epstone.net wrote:
- On save of a category, or a page including that category, insert the
requisite category entry (this would save a dirty great big migration script).
- Mark Clements (HappyDog)