Closed Bug 824037 Opened 12 years ago Closed 10 years ago

Page deletion

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Unassigned)

References

Details

Luke said to file this. There's apparently a data model issue preventing pages from being deleted. Once this is fixed, we need to delete https://developer.mozilla.org/pt-PT/docs/HTML/testing
We have a huge amount of pages to delete (all the pages tagged with "junk"), mostly useless redirects and results of test/spam.
Blocks: 813542
Blocks: 819829
Summary: Unable to delete pages → Page deletion
Do we already have a page deletion feature? Is this about fixing an issue with that feature or building that feature in the first place? If it's the latter, we need to make sure we can restore content that is deleted.
Component: Dashboards → Editing
Depends on: 665748
Depends on: 671730
Depends on: 671731
(In reply to John Karahalis [:openjck] from comment #3) > Do we already have a page deletion feature? Is this about fixing an issue > with that feature or building that feature in the first place? > > If it's the latter, we need to make sure we can restore content that is > deleted. We have the ability, normally, to delete pages. It was temporarily disabled due to bug 863692 -- any attempt to delete now raises an error (which gets emailed to the devs), so that we can track down anything that tries to delete a page in hopes of identifying where those missing pages went.
Where do we stand now on being able to delete pages properly?
If you mean in terms of timeline, we can continue to push this forward as soon as it's mentioned in mdn-drivers. If you mean feature-wise what is available, James should know.
Flags: needinfo?(jbennett)
Page deletion should still be disabled. We'll let you know when it's enabled again for general use -- until then if there's a pressing need for deletion, we'll see about working out a temporary/emergency solution.
Flags: needinfo?(jbennett)
Blocks: 908010
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/2c0b22b9ae544567bd2b0c862c45630f38ac626b Bug 824037: Initial infrastructure to bring back page deletion. This replaces deletion with more of a "trash can" effect; a deleted Document remains in the database, but is excluded from queries. A separate "purge" method can actually permanently remove the Document. Additionally, the deletion mechanism differentiates between actual Documents, and redirects; redirects can always just be deleted in one go, rather than lingering in the database. Additional work still needed: 1. UI for trusted users to be able to "purge". 2. Code and UI-level support, when someone attempts to create a new Document with the same locale/slug as a deleted one, for informing the user what's going on and giving them the option to start from the last revision of the deleted Document or just start fresh. https://github.com/mozilla/kuma/commit/3463af19c26b6d3e2d0afb4bd139e2fa1c7d819a Merge pull request #1293 from ubernostrum/page-deletion-824037 Bug 824037: Initial infrastructure to bring back page deletion.
James, this is done, right?
Flags: needinfo?(jbennett)
(In reply to John Karahalis [:openjck] from comment #9) > James, this is done, right? Only the infrastructure for it is done. davidwalsh is going to start work on the UX for it Monday.
Flags: needinfo?(jbennett)
Depends on: 972547
No longer depends on: 671730, 665748, 671731
This has been done for ages.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.