Attachment 'theme_patch.txt'
Download 1 --- __init__.py 2007-01-09 21:56:09.000000000 +0100
2 +++ /usr/lib/python2.4/site-packages/MoinMoin/theme/__init__.py 2007-01-10 21:04:04.000000000 +0100
3 @@ -1053,8 +1053,13 @@
4 This is separate method to make it easy to customize the
5 edtibar in sub classes.
6 """
7 + sub_page_name = self.request.cfg.supplementation_page_name
8 + editorlink = self.editorLink(page)
9 + if page.page_name.endswith(sub_page_name):
10 + editorlink = editorlink.replace('action=edit','action=editsupplementation')
11 + editorlink = editorlink.replace(sub_page_name,'')
12
13 - editbar_items = {'Edit': self.editorLink(page),
14 + editbar_items = {'Edit': editorlink,
15 self.request.cfg.supplementation_page_name:
16 self.supplementation_page_nameLink(page),
17 'Info': self.infoLink(page),
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.