Пример #1
0
 def wiki_page_changed(self, page, version, t, comment, author, ipnr):
     values = prepare_wiki_page_values(page, 'changed')
     values['comment'] = comment or ''
     values['last_author'] = author or ''
     self.notify('wiki_page', values)
Пример #2
0
 def wiki_page_added(self, page):
     self.notify('wiki_page', prepare_wiki_page_values(page, 'added'))
Пример #3
0
 def wiki_page_changed(self, page, version, t, comment, author, ipnr):
     values = prepare_wiki_page_values(page, 'changed')
     values['comment'] = comment or ''
     values['last_author'] = author or ''
     self.notify('wiki_page', values)
Пример #4
0
 def wiki_page_added(self, page):
     self.notify('wiki_page', prepare_wiki_page_values(page, 'added'))
Пример #5
0
 def get_wiki_page(self, req, page_name):
     page = WikiPage(self.env, page_name)
     if not page.exists:
         raise NotFound()
     return prepare_wiki_page_values(page)
Пример #6
0
 def get_wiki_page(self, req, page_name):
     page = WikiPage(self.env, page_name)
     if not page.exists:
         raise NotFound()
     return prepare_wiki_page_values(page)