Modify ↓
Opened 18 years ago
Closed 18 years ago
#6142 closed enhancement (worksforme)
The "req" should be available within "wiki_page_changed"
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I'm not sure if this is a defect or and enhancement.
The method signature:
def wiki_page_changed(self, page, version, t, comment, author,
ipnr):
The request which has changed the wiki-page is not available. But in some cases, the information is needed to decide for the validity of the change.
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Replying to osimons <simon-code@bvnetwork.no>: […]
Please close the ticket as
worksformeif you agree with this.
Thank you for the thorough elaborations.
My missunderstanding.
Note:
See TracTickets
for help on using tickets.



I assume you refer to the definiton of
trac.wiki.api.IWikiChangeListener.wiki_page_changed()? The methods ofListenerinterfaces in general are not intended for validation as they are after-the-fact events - called when a successful submission has already been made in the database. The same behavior is for instance mirrored in thetrac.ticket.api.ITicketChangeListenerinterface.If you need validation, you should implement the
trac.wiki.api.IWikiPageManipulatorinterface.Please close the ticket as
worksformeif you agree with this.