Attachment 'UserPreferences.py'
Download 1 """
2 This is a simple plugin, that adds a "UserPreferences" action.
3 This action will display the UserPreferences page (or appropriate
4 page in the reader's language), so that the user can login, or
5 change his/her preferences.
6
7 However, as it is an action, the page that is displayed is not
8 changed. After submitting the form, the user is presented the
9 same page he/she was seeing before, and the trail is not modified.
10
11 To install this plugin, copy it into <data_dir>/data/plugin/action/
12 dicrectory, where <data_dir> is the same as you set as data_dir in
13 your wiki configuration.
14
15 This code is public domain.
16 """
17
18 from MoinMoin import wikiutil
19
20 def execute(pagename, request):
21 page = wikiutil.getSysPage(request, 'UserPreferences')
22 request.http_headers()
23 page.send_page(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.