Last modified: 2012-10-29 16:39:58 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 19823 - RevisionDelete: No recreate-warning after a page has been suppress-deleted
RevisionDelete: No recreate-warning after a page has been suppress-deleted
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: SWMT
  Show dependency treegraph
Reported: 2009-07-19 14:36 UTC by Church of emacs
Modified: 2012-10-29 16:39 UTC (History)
1 user (show)

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


Description Church of emacs 2009-07-19 14:36:54 UTC
If an oversight user deletes an article while another user is editing it, the other user gets no warning on saving the page.
Before an article is saved, EditPage::wasDeletedSinceLastEdit() is checked (if it returns true, a warning is given). wasDeletedSinceLastEdit() calls Title::isDeleted() (since r47750 it's isDeletedQuick()) which seems to fail to return true if the page was deleted with suppress (both methods have this problem).
Since there are probably other parts of MediaWiki as well, who call isDeleted and isDeletedQuick, those functions should be made compatible with RevisionDelete.
Comment 1 Aaron Schulz 2009-07-30 17:39:49 UTC
Not efficient to do yet (until deleted_pages is made). Also some oversight users want to be able to hide page names; this would give them away.

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