Blame
Date:
Tue Jan 3 05:00:22 2023 UTC
Message:
Daily backup
001
2021-12-17
jrmu
<?php if (!defined('PmWiki')) exit();
002
2021-12-17
jrmu
## This is a sample config.php file. To use this file, copy it to
003
2021-12-17
jrmu
## local/config.php, then edit it for whatever customizations you want.
004
2021-12-17
jrmu
## Also, be sure to take a look at https://www.pmwiki.org/wiki/Cookbook
005
2021-12-17
jrmu
## for more details on the customizations that can be added to PmWiki.
006
2021-12-17
jrmu
007
2021-12-17
jrmu
## $WikiTitle is the name that appears in the browser's title bar.
008
2021-12-17
jrmu
$WikiTitle = 'PmWiki';
009
2021-12-17
jrmu
010
2021-12-17
jrmu
## $ScriptUrl is the URL for accessing wiki pages with a browser.
011
2021-12-17
jrmu
## $PubDirUrl is the URL for the pub directory.
012
2021-12-17
jrmu
# $ScriptUrl = 'https://www.mydomain.com/path/to/pmwiki.php';
013
2021-12-17
jrmu
# $PubDirUrl = 'https://www.mydomain.com/path/to/pub';
014
2021-12-17
jrmu
015
2021-12-17
jrmu
## If you want to use URLs of the form .../pmwiki.php/Group/PageName
016
2021-12-17
jrmu
## instead of .../pmwiki.php?p=Group.PageName, try setting
017
2021-12-17
jrmu
## $EnablePathInfo below. Note that this doesn't work in all environments,
018
2021-12-17
jrmu
## it depends on your webserver and PHP configuration. You might also
019
2021-12-17
jrmu
## want to check https://www.pmwiki.org/wiki/Cookbook/CleanUrls more
020
2021-12-17
jrmu
## details about this setting and other ways to create nicer-looking urls.
021
2021-12-17
jrmu
# $EnablePathInfo = 1;
022
2021-12-17
jrmu
023
2021-12-17
jrmu
## $PageLogoUrl is the URL for a logo image -- you can change this
024
2021-12-17
jrmu
## to your own logo if you wish.
025
2021-12-17
jrmu
# $PageLogoUrl = "$PubDirUrl/skins/pmwiki/pmwiki-32.gif";
026
2021-12-17
jrmu
027
2021-12-17
jrmu
## If you want to have a custom skin, then set $Skin to the name
028
2021-12-17
jrmu
## of the directory (in pub/skins/) that contains your skin files.
029
2021-12-17
jrmu
## See PmWiki.Skins and Cookbook.Skins.
030
2021-12-17
jrmu
# $Skin = 'pmwiki-responsive';
031
2021-12-17
jrmu
032
2021-12-17
jrmu
## You'll probably want to set an administrative password that you
033
2021-12-17
jrmu
## can use to get into password-protected pages. Also, by default
034
2021-12-17
jrmu
## the "attr" passwords for the PmWiki and Main groups are locked, so
035
2021-12-17
jrmu
## an admin password is a good way to unlock those. See PmWiki.Passwords
036
2021-12-17
jrmu
## and PmWiki.PasswordsAdmin.
037
2021-12-17
jrmu
# $DefaultPasswords['admin'] = pmcrypt('secret');
038
2021-12-17
jrmu
039
2021-12-17
jrmu
## Unicode (UTF-8) allows the display of all languages and all alphabets.
040
2021-12-17
jrmu
## Highly recommended for new wikis.
041
2021-12-17
jrmu
include_once("scripts/xlpage-utf-8.php");
042
2021-12-17
jrmu
043
2021-12-17
jrmu
## If you're running a publicly available site and allow anyone to
044
2021-12-17
jrmu
## edit without requiring a password, you probably want to put some
045
2021-12-17
jrmu
## blocklists in place to avoid wikispam. See PmWiki.Blocklist.
046
2021-12-17
jrmu
# $EnableBlocklist = 1; # enable manual blocklists
047
2021-12-17
jrmu
# $EnableBlocklist = 10; # enable automatic blocklists
048
2021-12-17
jrmu
049
2021-12-17
jrmu
## PmWiki comes with graphical user interface buttons for editing;
050
2021-12-17
jrmu
## to enable these buttons, set $EnableGUIButtons to 1.
051
2021-12-17
jrmu
# $EnableGUIButtons = 1;
052
2021-12-17
jrmu
053
2021-12-17
jrmu
## To enable markup syntax from the Creole common wiki markup language
054
2021-12-17
jrmu
## (http://www.wikicreole.org/), include it here:
055
2021-12-17
jrmu
# include_once("scripts/creole.php");
056
2021-12-17
jrmu
057
2021-12-17
jrmu
## Some sites may want leading spaces on markup lines to indicate
058
2021-12-17
jrmu
## "preformatted text blocks", set $EnableWSPre=1 if you want to do
059
2021-12-17
jrmu
## this. Setting it to a higher number increases the number of
060
2021-12-17
jrmu
## space characters required on a line to count as "preformatted text".
061
2021-12-17
jrmu
# $EnableWSPre = 1; # lines beginning with space are preformatted (default)
062
2021-12-17
jrmu
# $EnableWSPre = 4; # lines with 4 or more spaces are preformatted
063
2021-12-17
jrmu
# $EnableWSPre = 0; # disabled
064
2021-12-17
jrmu
065
2021-12-17
jrmu
## If you want uploads enabled on your system, set $EnableUpload=1.
066
2021-12-17
jrmu
## You'll also need to set a default upload password, or else set
067
2021-12-17
jrmu
## passwords on individual groups and pages. For more information
068
2021-12-17
jrmu
## see PmWiki.UploadsAdmin.
069
2021-12-17
jrmu
# $EnableUpload = 1;
070
2021-12-17
jrmu
# $DefaultPasswords['upload'] = pmcrypt('secret');
071
2021-12-17
jrmu
$UploadPermAdd = 0; # Recommended for most new installations
072
2021-12-17
jrmu
073
2021-12-17
jrmu
## Setting $EnableDiag turns on the ?action=diag and ?action=phpinfo
074
2021-12-17
jrmu
## actions, which often helps others to remotely troubleshoot
075
2021-12-17
jrmu
## various configuration and execution problems.
076
2021-12-17
jrmu
# $EnableDiag = 1; # enable remote diagnostics
077
2021-12-17
jrmu
078
2021-12-17
jrmu
## By default, PmWiki doesn't allow browsers to cache pages. Setting
079
2021-12-17
jrmu
## $EnableIMSCaching=1; will re-enable browser caches in a somewhat
080
2021-12-17
jrmu
## smart manner. Note that you may want to have caching disabled while
081
2021-12-17
jrmu
## adjusting configuration files or layout templates.
082
2021-12-17
jrmu
# $EnableIMSCaching = 1; # allow browser caching
083
2021-12-17
jrmu
084
2021-12-17
jrmu
## Set $SpaceWikiWords if you want WikiWords to automatically
085
2021-12-17
jrmu
## have spaces before each sequence of capital letters.
086
2021-12-17
jrmu
# $SpaceWikiWords = 1; # turn on WikiWord spacing
087
2021-12-17
jrmu
088
2021-12-17
jrmu
## Set $EnableWikiWords if you want to allow WikiWord links.
089
2021-12-17
jrmu
## For more options with WikiWords, see scripts/wikiwords.php .
090
2021-12-17
jrmu
# $EnableWikiWords = 1; # enable WikiWord links
091
2021-12-17
jrmu
092
2021-12-17
jrmu
## $DiffKeepDays specifies the minimum number of days to keep a page's
093
2021-12-17
jrmu
## revision history. The default is 3650 (approximately 10 years).
094
2021-12-17
jrmu
# $DiffKeepDays=30; # keep page history at least 30 days
095
2021-12-17
jrmu
096
2021-12-17
jrmu
## By default, viewers are prevented from seeing the existence
097
2021-12-17
jrmu
## of read-protected pages in search results and page listings,
098
2021-12-17
jrmu
## but this can be slow as PmWiki has to check the permissions
099
2021-12-17
jrmu
## of each page. Setting $EnablePageListProtect to zero will
100
2021-12-17
jrmu
## speed things up considerably, but it will also mean that
101
2021-12-17
jrmu
## viewers may learn of the existence of read-protected pages.
102
2021-12-17
jrmu
## (It does not enable them to access the contents of the pages.)
103
2021-12-17
jrmu
# $EnablePageListProtect = 0;
104
2021-12-17
jrmu
105
2021-12-17
jrmu
## The refcount.php script enables ?action=refcount, which helps to
106
2021-12-17
jrmu
## find missing and orphaned pages. See PmWiki.RefCount.
107
2021-12-17
jrmu
# if ($action == 'refcount') include_once("scripts/refcount.php");
108
2021-12-17
jrmu
109
2021-12-17
jrmu
## The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf,
110
2021-12-17
jrmu
## and ?action=dc, for generation of syndication feeds in various formats.
111
2021-12-17
jrmu
# if ($action == 'rss') include_once("scripts/feeds.php"); # RSS 2.0
112
2021-12-17
jrmu
# if ($action == 'atom') include_once("scripts/feeds.php"); # Atom 1.0
113
2021-12-17
jrmu
# if ($action == 'dc') include_once("scripts/feeds.php"); # Dublin Core
114
2021-12-17
jrmu
# if ($action == 'rdf') include_once("scripts/feeds.php"); # RSS 1.0
115
2021-12-17
jrmu
116
2021-12-17
jrmu
## By default, pages in the Category group are manually created.
117
2021-12-17
jrmu
## Uncomment the following line to have blank category pages
118
2021-12-17
jrmu
## automatically created whenever a link to a non-existent
119
2021-12-17
jrmu
## category page is saved. (The page is created only if
120
2021-12-17
jrmu
## the author has edit permissions to the Category group.)
121
2021-12-17
jrmu
# $AutoCreate['/^Category\\./'] = array('ctime' => $Now);
122
2021-12-17
jrmu
123
2021-12-17
jrmu
## PmWiki allows a great deal of flexibility for creating custom markup.
124
2021-12-17
jrmu
## To add support for '*bold*' and '~italic~' markup (the single quotes
125
2021-12-17
jrmu
## are part of the markup), uncomment the following lines.
126
2021-12-17
jrmu
## (See PmWiki.CustomMarkup and the Cookbook for details and examples.)
127
2021-12-17
jrmu
# Markup("'~", "<'''''", "/'~(.*?)~'/", "<i>$1</i>"); # '~italic~'
128
2021-12-17
jrmu
# Markup("'*", "<'''''", "/'\\*(.*?)\\*'/", "<b>$1</b>"); # '*bold*'
129
2021-12-17
jrmu
130
2021-12-17
jrmu
## If you want to have to approve links to external sites before they
131
2021-12-17
jrmu
## are turned into links, uncomment the line below. See PmWiki.UrlApprovals.
132
2021-12-17
jrmu
## Also, setting $UnapprovedLinkCountMax limits the number of unapproved
133
2021-12-17
jrmu
## links that are allowed in a page (useful to control wikispam).
134
2021-12-17
jrmu
# $UnapprovedLinkCountMax = 10;
135
2021-12-17
jrmu
# include_once("scripts/urlapprove.php");
136
2021-12-17
jrmu
137
2021-12-17
jrmu
## The following lines make additional editing buttons appear in the
138
2021-12-17
jrmu
## edit page for subheadings, lists, tables, etc.
139
2021-12-17
jrmu
# $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
140
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
141
2021-12-17
jrmu
# $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
142
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
143
2021-12-17
jrmu
# $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
144
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
145
2021-12-17
jrmu
# $GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
146
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
147
2021-12-17
jrmu
# $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
148
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
149
2021-12-17
jrmu
# $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
150
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
151
2021-12-17
jrmu
# $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
152
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
153
2021-12-17
jrmu
# $GUIButtons['table'] = array(600,
154
2021-12-17
jrmu
# '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
155
2021-12-17
jrmu
# '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
IRCNow