Going ahead and adding this field while other DB updates are pending.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Dec 2006 13:22:52 +0000 (13:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Dec 2006 13:22:52 +0000 (13:22 +0000)
commit288a7eb7f18ebc1f98f6ad65ede01c9ea39d9e9b
treef0a2905d1a7688fb6f5f1dd09194e0f2bd1fc86b
parentfc39e18f0ebec16df7482441a3e250934b82a356
Going ahead and adding this field while other DB updates are pending.
Interfaces to use it can be added shortly.

* Add user_editcount field to provide data for heuristics on account use.
  Incremented on edit, with lazy initialization from past revision data.
  Can batch-initialize with maintenance/initEditCount.php (not yet friendly
  to replication environments, this will do all accounts in one query).
* Allow raw SQL subsections in Database::update() SET portion as well as
  for WHERE portion. Handy for increments and such.
RELEASE-NOTES
includes/Article.php
includes/Database.php
includes/User.php
maintenance/archives/patch-user_editcount.sql [new file with mode: 0644]
maintenance/initEditCount.php [new file with mode: 0644]
maintenance/mysql5/tables-binary.sql
maintenance/mysql5/tables.sql
maintenance/postgres/tables.sql
maintenance/tables.sql
maintenance/updaters.inc