Attachment 'moin-theme-monobook-0.5-moin-1.9.0-compat.patch'
Download 1 --- moin-theme-monobook-0.5/monobook/monobook.py 2008-11-05 09:32:50.000000000 +0000
2 +++ moin-theme-monobook-0.5/monobook/monobook.py 2009-12-27 23:48:09.071924032 +0000
3 @@ -13,6 +13,7 @@
4 @license: GNU GPL, see COPYING for details.
5 """
6
7 +from MoinMoin.action import get_available_actions
8 from MoinMoin.theme import ThemeBase
9 from MoinMoin import wikiutil, i18n
10 from MoinMoin.Page import Page
11 @@ -220,7 +221,7 @@
12 link = ''
13
14 # Format standard actions
15 - available = request.getAvailableActions(page)
16 + available = get_available_actions(request.cfg, page, request.user)
17 for action in menu:
18 data = {'action': action, 'disabled': 0, 'title': titles[action]}
19
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.