~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnConfiguration(2f)UserPreferences/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
 
3
##master-page:Unknown-Page
 
4
##master-date:Unknown-Date
 
5
#acl -All:write Default
 
6
#format wiki
 
7
#language en
 
8
You can predefine, disable or remove several options on the user preferences page using the following parameters in your wiki config:
 
9
 
 
10
|| user_checkbox_defaults || dict || Sets the default settings of the user preferences checkboxes. Example: `user_checkbox_defaults = {'edit_on_doubleclick': 0}` ||
 
11
|| user_checkbox_disable || `[]` || a list of checkbox names to be disabled in the user preferences. A disabled checkbox is displayed greyedout and uses the default value set in `user_checkbox_defaults`. ||
 
12
|| user_checkbox_fields || `[...]` || list of checkbox items. ||
 
13
|| user_checkbox_remove || `[]` || a list of checkbox names to be removed from the user preferences. A removed checkbox uses the default value set in `user_checkbox_defaults`.||
 
14
|| user_form_defaults|| `[]` || a list of form defaults for user preferences.||
 
15
|| user_form_disable || `[]` || a list of form field names to be disabled in the user preferences. A disabled field is displayed greyed out and uses the default value set in `user_form_defaults`.||
 
16
|| user_form_fields || `[...]` || list of user preferences form items. ||
 
17
|| user_form_remove || `[]` || a list of form field names to be removed from user preferences. A removed form field uses the default value set in `user_form_defaults`.||
 
18
 
 
19
The possible keys / clear text explanations are found in `MoinMoin/config/multiconfig.py`:
 
20
 
 
21
|| mailto_author || Publish my email (not my wiki homepage) in author info ||
 
22
|| edit_on_doubleclick || Open editor on double click ||
 
23
|| remember_last_visit || After login, jump to last visited page ||
 
24
|| show_comments || Show comment sections ||
 
25
|| show_nonexist_qm || Show question mark for non-existing pagelinks ||
 
26
|| show_page_trail || Show page trail ||
 
27
|| show_toolbar || Show icon toolbar ||
 
28
|| show_topbottom || Show top/bottom links in headings ||
 
29
|| show_fancy_diff ||Show fancy diffs ||
 
30
|| wikiname_add_spaces || Add spaces to displayed wiki names ||
 
31
|| remember_me || Remember login information ||
 
32
|| want_trivial || Subscribe to trivial changes ||
 
33
|| disabled || Disable this account forever ||
 
34
 
 
35
So you could do, for example:
 
36
 
 
37
user_checkbox_remove = ['edit_on_doubleclick', 'show_nonexist_qm', 'show_toolbar', 'show_topbottom', 'show_fancy_diff', 'wikiname_add_spaces', 'remember_me', 'disabled',]
 
38
 
 
39
user_form_remove = ['password', 'password2', 'css_url', 'logout', 'create', 'account_sendmail', 'aliasname',]