Modify ↓
Opened 8 years ago
Last modified 5 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
authorto the user deleting the page - Set the
contentto an empty string - Set the
versiontoNone?
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
pageobject. We should addWikiChangeEventclass and useauthorattribute of the class rather than.