Attachment 'mentalwealth-0.96-moin-1.9.x.patch'
Download 1 --- ./mentalwealth.py 2011-08-25 11:24:01.000000000 -0400
2 +++ ../mentalwealth 2/mentalwealth.py 2009-02-22 23:48:20.000000000 -0500
3 @@ -8,11 +8,10 @@
4
5 For more info see the readme.html.
6 """
7 -from MoinMoin.action import get_available_actions
8 from MoinMoin.theme import ThemeBase
9 -from MoinMoin.wikiutil import link_tag as link
10 +from MoinMoin.wikiutil import link_tag as link
11 from MoinMoin.wikiutil import quoteWikinameURL as quoteURL
12 -from MoinMoin.Page import Page
13 +from MoinMoin.Page import Page
14
15 MOREACTIONS = True
16
17 @@ -63,8 +62,7 @@
18 page = d['page']
19
20 # we can do these actions
21 - #available = self.request.getAvailableActions(page)
22 - available = get_available_actions(self.request.cfg, page, self.request.user)
23 + available = self.request.getAvailableActions(page)
24
25 # start building list of links
26 builder = BuildLinks(self.request, page)
27 @@ -110,8 +108,7 @@
28 builder.addplain(parent.link_to(self.request, _get('Show Parent', formatted=False)))
29
30 # determine which actions we can use
31 - #available = self.request.getAvailableActions(page)
32 - available = get_available_actions(self.request.cfg, page, self.request.user)
33 + available = self.request.getAvailableActions(page)
34 for action, label in self.choices:
35 if action == 'refresh' and not page.canUseCache():
36 continue
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.