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.
  • [get | view] (2011-08-25 15:54:07, 1.3 KB) [[attachment:mentalwealth-0.96-moin-1.9.x.patch]]
  • [get | view] (2006-04-22 00:23:03, 21.2 KB) [[attachment:mentalwealth-093.gif]]
  • [get | view] (2006-04-22 00:24:09, 81.5 KB) [[attachment:mentalwealth-093.zip]]
  • [get | view] (2006-04-28 16:39:02, 86.6 KB) [[attachment:mentalwealth-094.zip]]
  • [get | view] (2006-06-06 19:37:55, 94.4 KB) [[attachment:mentalwealth-095.2.zip]]
  • [get | view] (2006-05-16 20:02:00, 97.1 KB) [[attachment:mentalwealth-095.zip]]
  • [get | view] (2009-02-22 23:55:35, 97.2 KB) [[attachment:mentalwealth-096.zip]]
  • [get | view] (2010-01-13 11:35:41, 1.0 KB) [[attachment:moin-theme-mentalwealth-0.95.2-moin-1.9.x.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.