#2885 closed defect (fixed)
Deletion of page versions not hooked by !IWikiChangeListener
Reported by: | Alec Thomas | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | wiki system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
There are hooks for page deletion as well as modification and addition, but not deleting a version.
Attachments (2)
Change History (9)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|
comment:2 by , 19 years ago
comment:3 by , 19 years ago
I guess I've missed something if the submitted patch address this issue - please ignore my previous comment ;-)
comment:4 by , 19 years ago
Priority: | normal → highest |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Type: | defect → task |
comment:5 by , 19 years ago
Priority: | highest → normal |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Type: | task → defect |
Reverting to the previous state, I guess this ticket has been spammed (if not, do no use "anonymous" to change the ticket status).
by , 19 years ago
Attachment: | wiki-listener-delete-version.diff added |
---|
Updated patch with additional check
comment:6 by , 19 years ago
Check for existence of wiki_page_version_deleted()
before calling, for backwards compatibility.
by , 19 years ago
Attachment: | wiki-listener-delete-version.2.diff added |
---|
Check for version delete before calling, for backwards compatibility
I might be wrong, but page deletion (or version deletion) are not tracked in the DB, so once the page has been deleted, there is no way to know that it has existed at an earlier time. It is therefore not possible for now to obtain this kind of events when the DB is parsed.