Last modified: 2011-11-30 16:17:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4018, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2018 - deletion process is broken
deletion process is broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.5.x
PC Linux
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-29 12:00 UTC by El
Modified: 2011-11-30 16:17 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description El 2005-04-29 12:00:08 UTC
I created an article 'G' with text 'g', deleted it, and now this is in the database:

select * from text where old_text='g';
+--------+----------+-----------+
| old_id | old_text | old_flags |
+--------+----------+-----------+
|   1031 | g        | utf-8     |
+--------+----------+-----------+

select * from revision where rev_text_id=1031;
Empty set (0.00 sec)

select * from page where page_title='G';
Empty set (0.02 sec)

select * from archive where ar_text='g' or ar_title='G';
Empty set (0.00 sec)

The text should be in table 'archive', not in 'text'. I can reproduce this
error, but
sometimes it works normally. I am not sure about the exact circumstances.
Comment 1 Brion Vibber 2005-05-01 08:10:25 UTC
Text is no longer removed on deletion; this is necessary to keep block-compression from exploding, and 
working cleanly with other backend storage changes in progress or to be made.

I've checked in a fix to make this work properly. page and revision entries are removed, and archive 
entries retain the original revision.rev_id and text.old_id; revision records are recreated on undelete, 
while text records are retained, and simply not visible except through the sysop's undelete interface or 
the raw database.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links