Opened 2 years ago
Last modified 4 months ago
#16116 new defect (bug)
Hide 'Move to Trash' for auto drafts
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Editor | Version: | 3.0 |
| Severity: | normal | Keywords: | needs-patch dev-feedback ui-focus |
| Cc: | MarkJaquith |
Description
The 'Move to Trash' link should not appear for auto-drafts.
This was the original intent of what [13905] removed, which I want to say was designed to reflect additional scenarios.
Attachments (1)
Change History (5)
comment:1
SergeyBiryukov — 19 months ago
comment:2
SergeyBiryukov — 19 months ago
- Keywords 3.2-early removed
- Milestone changed from Future Release to 3.3
The patch still applies correctly. Moving for review.
- Keywords needs-patch dev-feedback added; has-patch removed
- Milestone changed from 3.3 to Future Release
This patch is lame. Ideally what should happen is that the trash link should show after an autosave, as at that point it is no longer an auto-draft and can be deleted.
If anything, the issue right now is that if you trash an auto-draft with no data attached to it, you get an "Undo" link which untrashes it, but it just becomes an auto-draft again.
Perhaps trashing an auto-draft results in a force-delete instead, and ?deleted=1 on edit.php. That makes more sense.

Closed #19066 as a duplicate.