* (bug 2018) Fix deletion for new schema, make work on MySQL 3 again
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 1 May 2005 08:07:25 +0000 (08:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 1 May 2005 08:07:25 +0000 (08:07 +0000)
commitc1ac86e5600e3334d8c0de30ad41cbd3db9f23dc
tree3f1f0690912fe599e8be8dd37eaf2424d0a66a93
parent5c192e8385824008aa0055343b9618e5bd4a1b05
* (bug 2018) Fix deletion for new schema, make work on MySQL 3 again

The archive table now has an ar_text_id field which points at the
text record containing the deleted revision's text. Older archive
records containing self-contained text are still supported and
will be restored by adding a new revision.

For now, revision and page records are still removed on deletion,
but text records are left intact. This will keep block compression
and immutable alternate storage backends working relatively cleanly.
A rev_deleted flag field is reserved in revision for further future
changes but that won't happen in the 1.5 timeframe.

There is no longer a delete-on-join which was present in earlier
1.5 revisions, so deletion should work on MySQL 3.x again.
includes/Article.php
includes/SpecialUndelete.php
maintenance/archives/patch-archive-text_id.sql [new file with mode: 0644]
maintenance/tables.sql
maintenance/updaters.inc