Closed
Bug 824037
Opened 12 years ago
Closed 10 years ago
Page deletion
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
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
Comment 1•12 years ago
|
||
We have a huge amount of pages to delete (all the pages tagged with "junk"), mostly useless redirects and results of test/spam.
Updated•11 years ago
|
Summary: Unable to delete pages → Page deletion
Comment 3•11 years ago
|
||
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.
Updated•11 years ago
|
Component: Dashboards → Editing
Comment 4•11 years ago
|
||
(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.
Reporter | ||
Comment 5•11 years ago
|
||
Where do we stand now on being able to delete pages properly?
Comment 6•11 years ago
|
||
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)
Comment 7•11 years ago
|
||
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)
Comment 8•11 years ago
|
||
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.
Reporter | ||
Comment 10•11 years ago
|
||
(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.
Updated•11 years ago
|
Flags: needinfo?(jbennett)
Updated•11 years ago
|
Reporter | ||
Comment 11•10 years ago
|
||
This has been done for ages.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•