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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2018 - deletion process is broken
deletion process is broken
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
PC Linux
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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.