Attachment 'editsupplementation.py'
Download 1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - Action for editsupplementation pages
4
5 This Action is used to edit a supplementation subpage e.g. a Discussion page below a comon page
6
7 @copyright: 2006-2007 ReimarBauer
8 @license: GNU GPL, see COPYING for details.
9 """
10 from MoinMoin.action import edit
11
12 def execute(pagename, request):
13 _ = request.getText
14 sub_page_name = request.cfg.supplementation_page_name
15 sub_page_template = request.cfg.supplementation_page_template
16 newpagename = "%s/%s" % (pagename, sub_page_name)
17
18 edit.execute(newpagename, request)
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.