Attachment 'request_moin1-5-5-a-1.diff'
Download 1 --- request_old.py 2006-10-15 15:20:00.000000000 +0200
2 +++ request.py 2006-12-03 19:03:08.000000000 +0100
3 @@ -1148,7 +1148,15 @@
4 else:
5 from MoinMoin.wikiaction import getHandler
6 handler = getHandler(self, action)
7 - handler(self.page.page_name, self)
8 + if handler == None:
9 + # Send page with error
10 + msg = _("You are not allowed to do %s on this page.") % wikiutil.escape(action)
11 + if not self.user.valid:
12 + # Suggest non valid user to login
13 + msg += " " + _("Login and try again.", formatted=0)
14 + self.page.send_page(self, msg=msg)
15 + else:
16 + handler(self.page.page_name, self)
17
18 # generate page footer (actions that do not want this footer use
19 # raise util.MoinMoinNoFooter to break out of the default execution
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.