Preferences

Preferences for access keys and edit form

This page can be used as template for (personal) preferences, or set as default site preference (see below).

You must edit, and save, this page, in order for it to take effect on your wiki! (You need not change anything; simply go to Edit view, then Save.)

  # Access keys - hold Alt (Windows IE), Shift + Alt (Firefox)
  # or Control (Mac) and tap the indicated key on your keyboard
  # to trigger the corresponding action.
  'ak_view'          => 'r' ,         # view page
  'ak_edit'          => 'e',         # edit page
  'ak_history'       => 'h',         # page history
#  'ak_print'         => '',          # print view of page
  'ak_recentchanges' => 'c',         # Recent Changes
  'ak_save'          => 's',         # save page
  'ak_saveedit'      => 'u',         # save and keep editing
  'ak_savedraft'     => 'd',         # save as draft
  'ak_preview'       => 'p',         # preview page
  'ak_textedit'      => ','          # focus to edit textarea (at the end)
  'ak_em'            => 'i',         # emphasized text (italic)
  'ak_strong'        => 'k',         # strong text (bold)
  'ak_home'          => '\',         # return to home page
  'ak_article'       => ',',         # view main article (used from Talk page)
  'ak_talk_page'     => '.',         # view Talk page (used from main article)
  'ak_move'          => 'm',         # Copy/move/rename (MovePage)
  'ak_attach'        => 'a',         # attach a file
  'ak_source'        => 'y',         # view page source
  'ak_attr'          => 't',         # view page attributes
  'ak_print'         => 'p',         # print view
#  'ak_backlinks'     => '',         # show backlinks
  'ak_login'         => '0',         # log in
  'ak_logout'        => '0',         # log out
  'ak_pagelink'      => 'l',         # pagelink

  # Editing components
  'e_rows' => '20',                  # rows in edit textarea
  'e_cols' => '70',                  # columns in edit textarea
  'Site.EditForm' => 'Site.EditForm' # location of EditForm

To create personal user (browser) preferences,

This sets a preference cookie on your browser which tells PmWiki where to find your personal preference settings.

To revert to the PmWiki default preferences

See also Cookbook:UserConfigurations about how to customise the edit form for personal use.

Note that by default, parsing of Site.Preferences is disabled. To make it the default site preference, add

 XLPage('prefs', "Site.Preferences");

to a config file (e.g. local/config.php).

To disable user preferences entirely set $EnablePrefs = 0;