Modify ↓
Opened 7 years ago
Last modified 4 years ago
#12928 new defect
Pass author to wiki_page_deleted and wiki_page_version_deleted
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-dev-1.7.x |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
See trac-wikinotification issue #11.
One possibility would be to modify the page
object before passing to the change listener:
- Set the
author
to the user deleting the page - Set the
content
to an empty string - Set the
version
toNone
?
Similar changes made be wanted elsewhere, such as the Ticket
model.
Attachments (0)
Change History (4)
Note:
See TracTickets
for help on using tickets.
I don't think we should modify
page
object. We should addWikiChangeEvent
class and useauthor
attribute of the class rather than.