]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - config/config-dist.ini
add TOOLBAR_TEMPLATE_PULLDOWN (AddTemplate icon)
[SourceForge/phpwiki.git] / config / config-dist.ini
1 ; This is the main configuration file for PhpWiki.
2 ; Note that certain characters are used as comment char and therefore 
3 ; these entries must be in double-quotes. Such as ":", ";", "," and "|"
4 ;
5 ; <?php die(); ?> for security
6 ;
7 ; This file is divided into eight parts. 
8 ; Each one has different configuration settings you can
9 ; change; in all cases the default should work on your system,
10 ; however, we recommend you tailor things to your particular setting.
11 ; Here undefined definitions get defined by config-default.ini settings.
12
13 ;=========================================================================
14 ; Part Zero: Latest Development and Tricky Options
15 ;=========================================================================
16 ;
17 ; If PHP needs help in finding where you installed the rest of the PhpWiki
18 ; code, you can set the include_path here.
19 ;
20 ; Override PHP's include path so that it can find some needed additional libraries.
21 ; You shouldn't need to do this unless your system include_path esp. your 
22 ; system pear libs are broken or oudated. The PHPWIKI_DIR is automatically 
23 ; put to the front and the local lib/pear path is automatically added to the end.
24 ; But if you define it, be sure to include either the system pear path or 
25 ; the phpwiki/lib/pear path to override your Pear_DB.
26 ; Note that on Windows-based servers, you should use ; rather than :
27 ; as the path separator.
28 ;INCLUDE_PATH = ".:/usr/local/httpd/phpwiki:/usr/share/pear"
29
30 ; Set DEBUG to 1 to view the XHTML and CSS validator icons, page
31 ; processing timer, and possibly other debugging messages at the
32 ; bottom of each page. 2 for a more verbose level. See lib/config.php.
33 ; Default: 0
34 ;DEBUG = 1
35
36 ; Enable the new method of handling WikiUsers.  This is currently an
37 ; experimental feature, although it is considered fairly stable.  It's best
38 ; to leave it on, and only disable it if you have problems with it.
39 ; Servers with memory-limit problems might want to turn it off. It costs ~300KB
40 ; Default: true
41 ;ENABLE_USER_NEW = false
42
43 ; I suspect ACL page permissions to degrade speed by 10%. Default: true
44 ;ENABLE_PAGEPERM = false
45
46 ; Graphical buttons on edit. Default: true
47 ;ENABLE_EDIT_TOOLBAR = false
48
49 ; Adds two additional buttons in EDIT_TOOLBAR, Search&Replace and Undo
50 ; Default: true
51 ;JS_SEARCHREPLACE = true
52
53 ; Default: true
54 ;ENABLE_DOUBLECLICKEDIT = false
55
56 ; Needed for inlined SVG and MathM, but may conflict with document.write(). 
57 ; Experimental. Default: false
58 ;ENABLE_XHTML_XML = true
59
60 ; Store DB query results in memory to avoid duplicate queries.
61 ; Disable only for old php's with low memory or memory_limit=8MB.
62 ; Default: true
63 ;USECACHE = false
64
65 ; Needs babycart installed. See http://phpwiki.org/SpamAssassinIntegration
66 ; Optionally define BABYCART_PATH. Default: /usr/local/bin/babycart
67 ;ENABLE_SPAMASSASSIN = true
68
69 ; If GOOGLE_LINKS_NOFOLLOW is true, ref=nofollow is added to 
70 ; all external links to discourage spam. You might want to turn it off,
71 ; if you want to improve pageranks on external links.
72 ;GOOGLE_LINKS_NOFOLLOW = false
73
74 ; LiveSearch enables immediate title search results via XMLHttpRequest.
75 ; Displays the results in a dropdown under the titlesearch inputbox
76 ; while typing. (experimental, only with certain themes)
77 ; You'll have to copy livesearch.js from http://blog.bitflux.ch/wiki/LiveSearch
78 ; to themes/default/ and define ENABLE_LIVESEARCH in config.ini to true. 
79 ; See themes/blog/themeinfo.php.
80 ; Currently we use the bitflux.ch library, but we will change to 
81 ; the russian acdropdown soon. http://momche.net/publish/article.php?page=acdropdown
82 ;ENABLE_LIVESEARCH = true
83
84 ; Experimental WikiPedia feature: Force Discussion/Article link at the topnavbar.
85 ; This does not work yet.
86 ;ENABLE_DISCUSSION_LINK = true
87
88 ; If set to true, add some anti-spam countermeasures based on captcha
89 ; tests.  See http://www.captcha.net/ for more information on captcha.
90 ;ENABLE_CAPTCHA = true 
91
92 ;==========================================================================
93 ; Part One: Authentication and security settings.
94 ;
95 ; See Part Three for more.
96 ;==========================================================================
97 ;
98 ; The name of your wiki.
99 ;
100 ; This is used to generate a keywords meta tag in the HTML templates,
101 ; in bookmark titles for any bookmarks made to pages in your wiki,
102 ; and during RSS generation for the <title> of the RSS channel.
103 ;
104 ; To use your own logo and signature files, name them PhpWikiLogo.png
105 ; and PhpWikiSignature.png and put them into themes/default/images
106 ; (substituting "PhpWiki" in the filename with the name you define
107 ; here).
108 ;
109 ; It is recommended this be a relatively short WikiWord like the
110 ; InterWiki monikers found in the InterWikiMap. (For examples, see
111 ; lib/interwiki.map).
112 WIKI_NAME = PhpWiki
113
114 ; Visitor Hostname Lookup
115 ;
116 ; If set, reverse dns lookups will be performed to attempt to convert
117 ; the user's IP number into a host name, in the case where the http
118 ; server does not do this.
119 ENABLE_REVERSE_DNS = true
120
121 ; Username and password of administrator.
122 ;
123 ; Set these to your preferences. For heaven's sake pick a good
124 ; password and use the passencrypt.php tool to encrypt the password from
125 ; prying eyes.
126 ; http://wolfram.org/writing/howto/password.html
127
128 ; Logging into the wiki with the admin user and password allows you to lock,
129 ; unlock, or remove pages and to perform other PhpWikiAdministration
130 ; functions. On all other occasions you should simply log in with your
131 ; regular WikiName.
132 ; If your password contains special chars like ";" or ":" better quote it in double-quotes.
133 ;ADMIN_USER = 
134 ; ADMIN_PASSWD is ignored on HttpAuth
135 ;ADMIN_PASSWD =
136
137 ; Encrypted passwords are the default. It is recommended that you use the
138 ; passencrypt.php or the configurator.php utility to encode the admin
139 ; password, which provides added security in the event that someone gains
140 ; ftp or shell  access to the server and directory containing phpwiki. To
141 ; use plain text passwords, in particular for the ADMIN_PASSWD, set
142 ; ENCRYPTED_PASSWD to false.
143 ENCRYPTED_PASSWD = true
144
145 ; Private ZIP Dumps of All Wiki Pages
146 ;
147 ; If true, only the admin user can make zip dumps. Otherwise anyone
148 ; may download all wiki pages as a single zip archive.
149 ZIPDUMP_AUTH = false
150
151 ; The RawHtml plugin allows page authors to embed real, raw HTML into Wiki
152 ; pages.  This is a possible security threat, as much HTML (or, rather,
153 ; JavaScript) can be very risky.  If you are in a controlled environment,
154 ; however, it could be of use.
155 ENABLE_RAW_HTML = true
156 ; If this is set, only pages locked by the Administrator may contain the
157 ; RawHtml plugin
158 ENABLE_RAW_HTML_LOCKEDONLY = true
159 ; If this is set, all unsafe html code is stripped automatically (experimental!)
160 ; See http://chxo.com/scripts/safe_html-test.php
161 ENABLE_RAW_HTML_SAFE = true
162
163 ; If you define this to true, (MIME-type) page-dumps (either zip dumps,
164 ; or "dumps to directory" will be encoded using the quoted-printable
165 ; encoding.  If you're actually thinking of mailing the raw page dumps,
166 ; then this might be useful, since (among other things,) it ensures
167 ; that all lines in the message body are under 80 characters in length.
168 ;
169 ; Also, setting this will cause a few additional mail headers
170 ; to be generated, so that the resulting dumps are valid
171 ; RFC 2822 e-mail messages.
172 ;
173 ; Probably you can just leave this set to false, in which case you get
174 ; raw ('binary' content-encoding) page dumps.
175 STRICT_MAILABLE_PAGEDUMPS = false
176
177 ; Here you can change the default dump directories.
178 ; (Can be overridden by the directory argument)
179 DEFAULT_DUMP_DIR = /tmp/wikidump
180 HTML_DUMP_DIR    = /tmp/wikidumphtml
181 ; Filename suffix used for XHTML page dumps.
182 ; If you don't want any suffix just comment this out.
183 HTML_DUMP_SUFFIX = .html
184
185 ; The maximum file upload size, in bytes.
186 ; The default, 16777216, is 16MB.
187 MAX_UPLOAD_SIZE = 16777216
188
189 ; If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the
190 ; default state for the "minor edit" checkbox on the edit page form
191 ; will be off.
192 ; The default, 604800, is one week (7 days)
193 MINOR_EDIT_TIMEOUT = 604800
194
195 ; Actions listed in this array will not be allowed.  The complete list
196 ; of actions can be found in lib/main.php with the function
197 ; getActionDescription.
198 ; DISABLED_ACTIONS = "dumpserial : loadfile"
199
200 ; If you enable this option every page is moderated by the ModeratedPage
201 ; action page plugin. Changing a moderated page will be delayed to be 
202 ; granted by a moderator by email.
203 ; ENABLE_MODERATEDPAGE_ALL = true
204
205 ; PhpWiki can generate an access_log (in "NCSA combined log" format)
206 ; for you. If you want one, define this to the name of the log
207 ; file. The server must have write access to the directory specified.
208 ; Note that even you define ACCESS_LOG_SQL logs are written to this file also.
209 ;ACCESS_LOG = /var/tmp/wiki_access_log
210
211 ; PhpWiki can read and/or write mod_log_sql accesslog tables for faster
212 ; abuse detection and referer lists.
213 ; If defined (e.g. 1) read-access is done via SQL. 
214 ; If flag 2 is set, phpwiki also writes. (Default on SQL or ADODB)
215 ; This must use DATABASE_TYPE = SQL or ADODB
216 ;ACCESS_LOG_SQL = 1 ; phpwiki reads, apache mod_log_sql writes
217 ;ACCESS_LOG_SQL = 2 ; read + write
218
219 ; By default PhpWiki will try to have PHP compress its output
220 ; before sending it to the browser, if you have a recent enough
221 ; version of PHP and the browser and action supports it.
222 ; Define COMPRESS_OUTPUT to false to prevent output compression.
223 ; Define COMPRESS_OUTPUT to true to force output compression,
224 ; even if we think your version of PHP does this in a buggy
225 ; fashion.
226 ; Leave it undefined to leave the choice up to PhpWiki. (Recommended)
227 ;
228 ; WARNING: Compressing the output has been reported to cause problems
229 ; when PHP is running on MacOSX or on redirected requests.
230 ; This setting should now be correctly determined automatically.
231 ;COMPRESS_OUTPUT = false
232
233 ; This controls how PhpWiki sets the HTTP cache control
234 ; headers (Expires: and Cache-Control:) 
235 ;
236 ; Choose one of:
237 ;
238 ; NO_CACHE: This is roughly the old (pre 1.3.4) behavior.  PhpWiki will
239 ;       instruct proxies and browsers never to cache PhpWiki output.
240 ;       This was previously called 'NONE', but NONE was treated specially 
241 ;       by parse_ini_config().
242 ;
243 ; STRICT: Cached pages will be invalidated whenever the database global
244 ;       timestamp changes.  This should behave just like NO_CACHE (modulo
245 ;       bugs in PhpWiki and your proxies and browsers), except that
246 ;       things will be slightly more efficient.
247 ;
248 ; LOOSE: Cached pages will be invalidated whenever they are edited,
249 ;       or, if the pages include plugins, when the plugin output could
250 ;       concievably have changed.
251 ;
252 ;       Behavior should be much like STRICT, except that sometimes
253 ;       wikilinks will show up as undefined (with the question mark)
254 ;       when in fact they refer to (recently) created pages.
255 ;       (Hitting your browsers reload or perhaps shift-reload button
256 ;       should fix the problem.)
257 ;
258 ; ALLOW_STALE: Proxies and browsers will be allowed to used stale pages.
259 ;       (The timeout for stale pages is controlled by CACHE_CONTROL_MAX_AGE.)
260 ;
261 ;       This setting will result in quirky behavior.  When you edit a
262 ;       page your changes may not show up until you shift-reload the
263 ;       page, etc...
264 ;
265 ;       This setting is generally not advisable, however it may be useful
266 ;       in certain cases (e.g. if your wiki gets lots of page views,
267 ;       and few edits by knowledgable people who won't freak over the quirks.)
268 ;
269 ; The recommended default is currently LOOSE.
270 ;
271 CACHE_CONTROL = LOOSE
272
273 ; Maximum page staleness, in seconds.
274 ;
275 ; This only has effect if CACHE_CONTROL is set to ALLOW_STALE.
276 CACHE_CONTROL_MAX_AGE = 600
277
278 ; PhpWiki normally caches a preparsed version (i.e. mostly
279 ; converted to HTML) of the most recent version of each page.
280 ; (Parsing the wiki-markup takes a fair amount of CPU.)
281 ; Define WIKIDB_NOCACHE_MARKUP to true to disable the
282 ; caching of marked-up page content.
283 ; Note that you can also disable markup caching on a per-page
284 ; temporary basis by addinging a query arg of '?nocache=1'
285 ; to the URL to the page or by adding a NoCache plugin line. 
286 ; Use '?nocache=purge' to completely discard the cached version of the page.
287 ; You can also purge the cached markup globally by using the
288 ; "Purge Markup Cache" button on the PhpWikiAdministration page.
289 ; Enable only for old php's with low memory or memory_limit=8MB.
290 ; Default: false
291 ;WIKIDB_NOCACHE_MARKUP = true
292
293 COOKIE_EXPIRATION_DAYS = 365
294 ; Default path for the wikiuser cookie. You need to specify this more explicitly
295 ; if you want to enable different users on different wikis on the same host.
296 ;COOKIE_DOMAIN = "/"
297
298 ;======================================================================
299 ; Part Two: Database Selection
300 ;======================================================================
301
302 ; Select the database type:
303 ;
304 ;       SQL:   access one of several SQL databases using the PEAR DB library.
305 ;       ADODB: uses the ADODB library for data access.     (most general)
306 ;       dba:   use one of the standard UNIX dbm libraries. (fastest)
307 ;       file:  use a flat file database. (easiest)
308 ;       cvs:   use a CVS server to store everything. (experimental, not recommended)
309 DATABASE_TYPE = dba
310    
311 ; prefix for filenames or table names
312 ;
313 ; Currently you MUST EDIT THE SQL file too (in the schemas/
314 ; directory because we aren't doing on the fly sql generation
315 ; during the installation.
316 ; Note: This prefix is NOT prepended to the default DBAUTH_
317 ;       tables user, pref and member!
318 ;DATABASE_PREFIX = phpwiki_
319
320 ; For SQL based backends, specify the database as a DSN (Data Source Name),
321 ; a kind of URL for databases.
322 ;
323 ; The most general form of a DSN looks like:
324 ;
325 ;       dbtype(dbsyntax)://username:password@protocol+hostspec/database?option=value&option2=value2
326 ;
327 ; For a MySQL database, the following should work:
328 ;
329 ;       mysql://user:password@host/databasename
330 ;
331 ; To connect over a unix socket, use something like
332 ;
333 ;       mysql://user:password@unix(/path/to/socket)/databasename
334 ;
335 ; Valid values for dbtype are mysql, pgsql, or sqlite.
336 ;
337 DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test"
338
339 ; Keep persistent connections: (mysql_pconnect, ...)
340 ; Recommended is false for bigger servers, and true for small servers 
341 ; with not so many connections. postgresql: Please leave it false. Default: false
342 ; Should really be set as database option in the DSN above.
343 DATABASE_PERSISTENT = false
344
345 ; A table to store session information.  Only needed by SQL backends.
346 ;
347 ; A word of warning - any prefix defined above will be prepended to whatever
348 ; is given here.
349 DATABASE_SESSION_TABLE = session
350
351 ; For the file and dba backends, this specifies where the data files will be
352 ; located.  Ensure that the user that the webserver runs as has write access
353 ; to this directory.
354 ;
355 ; WARNING: leaving this as the default of '/tmp' will almost guarantee that
356 ; you'll lose your wiki data at some stage.
357 DATABASE_DIRECTORY = /tmp
358
359 ; For the dba backend, this defines which DBA variant you wish to use.
360 ;       gdbm - commonly available, Fedora not
361 ;       db2 - Berkeley DB v2; not supported by modern versions of PHP
362 ;       db3 - Berkeley DB v3; as per db2. The best on Windows
363 ;       db4 - Berkeley DB v4; current version, however PHP has some issues
364 ;               with it's db4 support.
365 ;       dbm - Older dba handler; suffers from limits on the size of data
366 ;               items
367 DATABASE_DBA_HANDLER = gdbm
368
369 ; How long will the system wait for a database operation to complete?
370 ; Specified in seconds.
371 DATABASE_TIMEOUT = 5
372
373 ; If action=upgrade detects mysql problems, but has no ALTER permissions, 
374 ; give here a user which has the necessary ALTER or CREATE permissions.
375 ; Of course you can fix your database manually. See lib/upgrade.php for known issues.
376 ;DBADMIN_USER = root
377 ;DBADMIN_PASSWD = secret
378
379 ; The login code now uses PHP's session support. Usually, the default
380 ; configuration of PHP is to store the session state information in
381 ; /tmp. That probably will work fine, but fails e.g. on clustered
382 ; servers where each server has their own distinct /tmp (this is the
383 ; case on SourceForge's project web server.) You can specify an
384 ; alternate directory in which to store state information like so
385 ; (whatever user your httpd runs as must have read/write permission
386 ; in this directory):
387 ;SESSION_SAVE_PATH = some_other_directory
388
389 ;========================================================================
390 ; Section 3a: Page revisions
391 ;
392 ; The next section controls how many old revisions of each page are
393 ; kept in the database.
394 ;========================================================================
395 ;
396 ; There are two basic classes of revisions: major and minor. Which
397 ; class a revision belongs in is determined by whether the author
398 ; checked the "this is a minor revision" checkbox when they saved the
399 ; page.
400
401 ; There is, additionally, a third class of revisions: author
402 ; revisions. The most recent non-mergable revision from each distinct
403 ; author is an author revision.
404 ;
405 ; The expiry parameters for each of those three classes of revisions
406 ; can be adjusted seperately. For each class there are five
407 ; parameters (usually, only two or three of the five are actually
408 ; set) which control how long those revisions are kept in the
409 ; database.
410 ;
411 ;   MAX_KEEP: If set, this specifies an absolute maximum for the
412 ;             number of archived revisions of that class. This is
413 ;             meant to be used as a safety cap when a non-zero
414 ;             min_age is specified. It should be set relatively high,
415 ;             and it's purpose is to prevent malicious or accidental
416 ;             database overflow due to someone causing an
417 ;             unreasonable number of edits in a short period of time.
418 ;
419 ;   MIN_AGE:  Revisions younger than this (based upon the supplanted
420 ;             date) will be kept unless max_keep is exceeded. The age
421 ;             should be specified in days. It should be a
422 ;             non-negative, real number,
423 ;
424 ;   MIN_KEEP: At least this many revisions will be kept.
425 ;
426 ;   KEEP: No more than this many revisions will be kept.
427 ;
428 ;   MAX_AGE:  No revision older than this age will be kept.
429 ;
430 ; Definitions of terms used above:
431 ;
432 ; Supplanted date: Revisions are timestamped at the instant that they
433 ; cease being the current revision. Revision age is computed using
434 ; this timestamp, not the edit time of the page.
435 ;
436 ; Merging: When a minor revision is deleted, if the preceding
437 ; revision is by the same author, the minor revision is merged with
438 ; the preceding revision before it is deleted. Essentially: this
439 ; replaces the content (and supplanted timestamp) of the previous
440 ; revision with the content after the merged minor edit, the rest of
441 ; the page metadata for the preceding version (summary, mtime, ...)
442 ; is not changed.
443 ;
444 ; Let all revisions be stored. Default since 1.3.11
445 ;MAJOR_MIN_KEEP = 2147483647
446 ;MINOR_MIN_KEEP = 2147483647
447
448 ; Keep up to 8 major edits, but keep them no longer than a month.
449 MAJOR_MAX_AGE = 32
450 MAJOR_KEEP = 8
451
452 ; Keep up to 4 minor edits, but keep them no longer than a week.
453 MINOR_MAX_AGE = 7
454 MINOR_KEEP = 4
455
456 ; Keep the latest contributions of the last 8 authors up to a year.
457 ; Additionally, (in the case of a particularly active page) try to
458 ; keep the latest contributions of all authors in the last week (even
459 ; if there are more than eight of them,) but in no case keep more
460 ; than twenty unique author revisions.
461 AUTHOR_MAX_AGE = 365
462 AUTHOR_KEEP = 8
463 AUTHOR_MIN_AGE = 7
464 AUTHOR_MAX_KEEP = 20
465
466 ;========================================================================
467 ; Part Three: User Authentication
468 ;========================================================================
469 ;
470 ; New user authentication configuration:
471 ; We support three basic authentication methods and a stacked array 
472 ; of advanced auth methods to get and check the passwords:
473 ;
474 ; ALLOW_ANON_USER         default true
475 ; ALLOW_ANON_EDIT         default true
476 ; ALLOW_BOGO_LOGIN        default true
477 ; ALLOW_USER_PASSWORDS    default true
478
479 ; allow anon users to view existing pages
480 ALLOW_ANON_USER = true
481 ; allow anon users to edit pages
482 ALLOW_ANON_EDIT = true
483
484 ; If ALLOW_BOGO_LOGIN is true, users are allowed to login (with
485 ; any/no password) using any userid which: 
486 ;  1) is not the ADMIN_USER, and
487 ;  2) is a valid WikiWord (matches $WikiNameRegexp.)
488 ; If true, users may be created by themselves. Otherwise we need seperate auth. 
489 ; If such a user will create a so called HomePage with his userid, he will 
490 ; be able to store his preferences and password there.
491 ALLOW_BOGO_LOGIN = true
492
493 ; True User Authentication:
494 ; To require user passwords:
495 ;   ALLOW_ANON_USER = false
496 ;   ALLOW_ANON_EDIT = false
497 ;   ALLOW_BOGO_LOGIN = false,
498 ;   ALLOW_USER_PASSWORDS = true.
499 ; Otherwise any anon or bogo user might login without any or a wrong password.
500 ALLOW_USER_PASSWORDS = true
501
502 ; Many different methods can be used to check user's passwords:
503 ;   BogoLogin:     WikiWord username, with no *actual* password checking,
504 ;                   although the user will still have to enter one.
505 ;   PersonalPage:  Store passwords in the users homepage metadata (simple)
506 ;   Db:            Use DBAUTH_AUTH_* (see below) with PearDB or 
507 ;                   ADODB only.
508 ;   LDAP:          Authenticate against LDAP_AUTH_HOST with LDAP_BASE_DN (experimental)
509 ;   IMAP:          Authenticate against IMAP_AUTH_HOST (email account)
510 ;   POP3:          Authenticate against POP3_AUTH_HOST (email account)
511 ;   File:          Store username:crypted-passwords in .htaccess like files. 
512 ;                  Use Apache's htpasswd to manage this file.
513 ;   HttpAuth:      Use the protection by the webserver (.htaccess/.htpasswd)
514 ;                  Enforcing HTTP Auth not yet. Note that the ADMIN_USER should exist also.
515 ;                  Using HttpAuth disables all other methods and no userauth sessions are used.
516 ;
517 ; Several of these methods can be used together, in the manner specified by
518 ; USER_AUTH_POLICY, below.  To specify multiple authentication methods,
519 ; separate the name of each one with colons.
520 ;USER_AUTH_ORDER = "PersonalPage : Db"
521 ;USER_AUTH_ORDER = "BogoLogin : PersonalPage"
522
523 ; For "security" purposes, you can specify that a password be at least a
524 ; certain number of characters long.  This applies even to the BogoLogin
525 ; method. Default: 0 (to allow immediate passwordless BogoLogin)
526 ;PASSWORD_LENGTH_MINIMUM = 6
527     
528 ; The following policies are available for user authentication:
529 ;       first-only: use only the first method in USER_AUTH_ORDER
530 ;       old:        ignore USER_AUTH_ORDER and try to use all available 
531 ;                       methods as in the previous PhpWiki releases (slow)
532 ;       strict:     check if the user exists for all methods: 
533 ;                       on the first existing user, try the password. 
534 ;                       dont try the other methods on failure then
535 ;       stacked:    check the given user - password combination for all
536 ;                       methods and return true on the first success.
537 USER_AUTH_POLICY = stacked
538
539 ; LDAP authentication options:
540 ;
541 ; The LDAP server to connect to.  Can either be a hostname, or a complete
542 ; URL to the server (useful if you want to use ldaps or specify a different
543 ; port number).
544 ;LDAP_AUTH_HOST = "ldap://localhost:389"
545
546 ; The organizational or domain BASE DN: e.g. "dc=mydomain,dc=com".
547 ;
548 ; Note: ou=Users and ou=Groups are used for GroupLdap Membership
549 ; Better use LDAP_OU_USERS and LDAP_OU_GROUP with GROUP_METHOD=LDAP.
550 ;LDAP_BASE_DN = "ou=Users,o=Development,dc=mycompany.com"
551
552 ; Some LDAP servers need some more options, such as the Windows Active
553 ; Directory Server.  Specify the options (as allowed by the PHP LDAP module)
554 ; and their values as NAME=value pairs separated by colons.
555 ; LDAP_SET_OPTION = "LDAP_OPT_PROTOCOL_VERSION=3:LDAP_OPT_REFERRALS=0"
556
557 ; DN to initially bind to the LDAP server as. This is needed if the server doesn't 
558 ; allow anonymous queries. (Windows Active Directory Server)
559 ; LDAP_AUTH_USER = "CN=ldapuser,ou=Users,o=Development,dc=mycompany.com"
560
561 ; Password to use to initially bind to the LDAP server, as the DN 
562 ; specified in the LDAP_AUTH_USER option (above).
563 ; LDAP_AUTH_PASSWORD = secret
564
565 ; If you want to match usernames against an attribute other than uid,
566 ; specify it here. Default: uid
567 ; LDAP_SEARCH_FIELD = sAMAccountName
568
569 ; If you have an organizational unit for all users, define it here.
570 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
571 ; Default: ou=Users
572 ; LDAP_OU_USERS = ou=Users
573
574 ; If you have an organizational unit for all groups, define it here.
575 ; This narrows the search, and is needed for LDAP group membership (if GROUP_METHOD=LDAP)
576 ; The entries in this ou must have a gidNumber and cn attribute.
577 ; Default: ou=Groups
578 ; LDAP_OU_GROUP = ou=Groups
579
580
581 ; IMAP authentication options:
582 ;
583 ; The IMAP server to check usernames from.  Defaults to localhost.
584 ;
585 ; Some IMAP_AUTH_HOST samples:
586 ;   "localhost", "localhost:143/imap/notls", 
587 ;   "localhost:993/imap/ssl/novalidate-cert" (SuSE refuses non-SSL conections)
588 ; IMAP_AUTH_HOST = "localhost:143/imap/notls"
589
590 ; POP3 authentication options:
591 ;
592 ; Host to connect to.
593 ; POP3_AUTH_HOST = "localhost:110"
594
595 ; Port to connect. Deprecated: Use POP3_AUTH_HOST:<port> instead
596 ; POP3_AUTH_PORT = 110
597
598 ; File authentication options:
599 ;
600 ; File to read for authentication information.
601 ; Popular choices are /etc/shadow and /etc/httpd/.htpasswd
602 ; AUTH_USER_FILE = /etc/shadow
603
604 ; Defines whether the user is able to change their own password via PHPWiki.
605 ; Note that this means that the webserver user must be able to write to the
606 ; file specified in AUTH_USER_FILE.
607 ; AUTH_USER_FILE_STORABLE = false
608
609 ; Session Auth:
610 ; Name of the session variable which holds the already authenticated username.
611 ; Sample: "userid", "user[username]", "user->username"
612 ; AUTH_SESS_USER = userid
613 ; Which level will the user be? 1 = Bogo or 2 = Pass
614 ; AUTH_SESS_LEVEL = 2
615
616 ; Group membership.  PhpWiki supports defining permissions for a group as
617 ; well as for individual users.  This defines how group membership information
618 ; is obtained.  Supported values are:
619 ;
620 ;       "NONE"          Disable group membership (Fastest). Note the required quoting.
621 ;       WIKIPAGE        Define groups as list at "CategoryGroup". (Slowest, but easiest to maintain)
622 ;       DB              Stored in an SQL database. Optionally external. See USERS/GROUPS queries
623 ;       FILE            Flatfile. See AUTH_GROUP_FILE below.
624 ;       LDAP            LDAP groups. See "LDAP authentication options" above and 
625 ;                       lib/WikiGroup.php. (experimental)
626 GROUP_METHOD = WIKIPAGE
627
628 ; Page where all groups are listed. Default: Translation of "CategoryGroup"
629 ; CATEGORY_GROUP_PAGE = CategoryGroup
630
631 ; For GROUP_METHOD = FILE, the file given below is referenced to obtain
632 ; group membership information.  It should be in the same format as the
633 ; standard unix /etc/groups(5) file.
634 ; AUTH_GROUP_FILE = /etc/groups
635
636 ; External database authentication and authorization.
637 ;
638 ; If USER_AUTH_ORDER includes Db, or GROUP_METHOD = DB, the options listed
639 ; below define the SQL queries used to obtain the information out of the
640 ; database, and (in some cases) store the information back to the DB.
641 ;
642 ; The options appropriate for each query are currently undocumented, and
643 ; you should not be surprised if things change mightily in the future.
644 ;
645 ; A database DSN to connect to.  Defaults to the DSN specified for the Wiki
646 ; as a whole.
647 ; DBAUTH_AUTH_DSN = "mysql://wikiuser:@localhost/phpwiki"
648 ;
649 ; USER/PASSWORD queries
650 ;
651 ; For USER_AUTH_POLICY=strict and the Db method this is required:
652 ; DBAUTH_AUTH_USER_EXISTS = "SELECT userid FROM user WHERE userid='$userid'"
653 ;
654 ; Check to see if the supplied username/password pair is OK
655 ;
656 ; plaintext passwords:
657 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd='$password',1,0) AS ok FROM user WHERE userid='$userid'"
658 ;
659 ; database-hashed passwords (more secure):
660 ; DBAUTH_AUTH_CHECK = "SELECT IF(passwd=PASSWORD('$password'),1,0) AS ok FROM user WHERE userid='$userid'"
661 DBAUTH_AUTH_CRYPT_METHOD = plain
662
663 ; If you want to use Unix crypt()ed passwords, you can use DBAUTH_AUTH_CHECK
664 ; to get the password out of the database with a simple SELECT query, and
665 ; specify DBAUTH_AUTH_USER_EXISTS and DBAUTH_AUTH_CRYPT_METHOD:
666 ; DBAUTH_AUTH_CHECK = "SELECT passwd FROM user where userid='$userid'"
667 ; DBAUTH_AUTH_CRYPT_METHOD = crypt
668 ;
669 ; Update the user's authentication credential.  If this is not defined but
670 ; DBAUTH_AUTH_CHECK is, then the user will be unable to update their
671 ; password.
672 ;
673 ; Plaintext passwords:
674 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd='$password' WHERE userid='$userid'"
675 ; Database-hashed passwords:
676 ; DBAUTH_AUTH_UPDATE = "UPDATE user SET passwd=PASSWORD('$password') WHERE userid='$userid'"
677 ;
678 ; Allow the user to create their own account.
679 ; DBAUTH_AUTH_CREATE = "INSERT INTO user SET passwd=PASSWORD('$password'),userid='$userid'"
680
681 ; USER/PREFERENCE queries
682 ;
683 ; If you choose to store your preferences in an external database, enable
684 ; the following queries.  Note that if you choose to store user preferences
685 ; in the 'user' table, only registered users get their prefs from the database,
686 ; self-created users do not.  Better to use the special 'pref' table.
687 ;
688 ; The prefs field stores the serialized form of the user's preferences array,
689 ; to ease the complication of storage.
690 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM user WHERE userid='$userid'"
691 ; DBAUTH_PREF_SELECT = "SELECT prefs FROM pref WHERE userid='$userid'"
692
693 ; Update the user's preferences
694 ; DBAUTH_PREF_UPDATE = "UPDATE user SET prefs='$pref_blob' WHERE userid='$userid'"
695 ; Note that REPLACE works only with mysql and destroy all other columns!
696 ; DBAUTH_PREF_UPDATE = "REPLACE INTO pref SET prefs='$pref_blob',userid='$userid'"
697
698 ; USERS/GROUPS queries
699 ;
700 ; You can define 1:n or n:m user<=>group relations, as you wish.
701 ;
702 ; Sample configurations:
703 ;  only one group per user (1:n):
704 ;   DBAUTH_IS_MEMBER = "SELECT user FROM user WHERE user='$userid' AND group='$groupname'"
705 ;   DBAUTH_GROUP_MEMBERS = "SELECT user FROM user WHERE group='$groupname'"
706 ;   DBAUTH_USER_GROUPS = "SELECT group FROM user WHERE user='$userid'"
707 ;  multiple groups per user (n:m):
708 ;   DBAUTH_IS_MEMBER = "SELECT userid FROM member WHERE userid='$userid' AND groupname='$groupname'"
709 ;   DBAUTH_GROUP_MEMBERS = "SELECT DISTINCT userid FROM member WHERE groupname='$groupname'"
710 ;   DBAUTH_USER_GROUPS = "SELECT groupname FROM member WHERE userid='$userid'"
711
712 ; A interim page which gets displayed on every edit attempt, if it exists.
713 ;EDITING_POLICY = EditingPolicy
714
715 ;========================================================================
716 ; Part Four: Page appearance and layout
717 ;========================================================================
718
719 ; THEMES
720 ;
721 ; Most of the page appearance is controlled by files in the theme
722 ; subdirectory.
723 ;
724 ; There are a number of pre-defined themes shipped with PhpWiki.
725 ; Or you may create your own (e.g. by copying and then modifying one of
726 ; stock themes.)
727 ;
728 ; The complete list of installed themes can be found by doing 'ls themes/'
729 ; from the root of your PHPWiki installation.
730 ; white on yellow with fat blue links:
731 THEME = default
732 ; almost fully iconized classic grey MacOSX design:
733 ;THEME = MacOSX
734 ; as default, just some tricks to make the buttons smaller:
735 ;THEME = smaller
736 ; the popular Wordpress layout:
737 ;THEME = Wordpress
738 ; pure old-style c2wiki layout:
739 ;THEME = Portland
740 ; random heavy images:
741 ;THEME = Hawaiian
742 ; example with some sidebar boxes:
743 ;THEME = Sidebar
744 ; mozilla friendly, with lots of icons instead of buttons (i18n friendly):
745 ;THEME = Crao
746 ; wikipedia layout:
747 ;THEME = MonoBook
748 ; default + rateit navbar:
749 ;THEME = wikilens
750 ; blogger style, rounded:
751 ;THEME = blog
752 ; minimalistic:
753 ;THEME = shamino_com
754 ; heavy space-y layout:
755 ;THEME = SpaceWiki
756
757 ; Select a valid charset name to be inserted into the xml/html pages,
758 ; and to reference links to the stylesheets (css). For more info see:
759 ; <http://www.iana.org/assignments/character-sets>. Note that PhpWiki
760 ; has been extensively tested only with the latin1 (iso-8859-1)
761 ; character set.
762 ;
763 ; If you change the default from iso-8859-1 PhpWiki may not work
764 ; properly and will require modifications in all existing pages. 
765 ; At the very least you will have to convert the files in pgsrc 
766 ; or locale/xx/pgsrc to match!
767 ; Currently we support utf-8 for zh and ja, euc-jp for ja (not enabled)
768 ; and iso-8859-1 for all other langs. Changing languages (UserPreferences) 
769 ; from one charset to another will not work!
770 ;
771 ; Character sets similar to iso-8859-1 may work with little or no
772 ; modification depending on your setup. The database must also
773 ; support the same charset, and of course the same is true for the
774 ; web browser. (Some work is in progress hopefully to allow more
775 ; flexibility in this area in the future).
776 CHARSET = iso-8859-1
777
778 ; Select your language/locale - Default language is "" for auto-detected.
779 ; Available languages:
780 ; English  "en" (English    - HomePage)
781 ; Dutch    "nl" (Nederlands - ThuisPagina)
782 ; Spanish  "es" (Español    - PáginaPrincipal)
783 ; French   "fr" (Français   - PageAccueil))
784 ; German   "de" (Deutsch    - StartSeite)
785 ; Swedish  "sv" (Svenska    - Framsida)
786 ; Italian  "it" (Italiano   - PaginaPrincipale)
787 ; Japanese "ja" (Japanese   - Â¥Ã›Â¡Â¼Â¥Ã Â¥ÃšÂ¡Â¼Â¥Â¸)
788 ; Chinese  "zh" (Chinese    - ?)
789 ;
790 ; If you set DEFAULT_LANGUAGE to the empty string, the users 
791 ; preferred language as determined by the browser setting will be used.
792 ; Japanese requires CHARSET=euc-jp or utf-8 (not yet safe), Chinese CHARSET=utf-8
793 ;DEFAULT_LANGUAGE = en
794
795 ; WIKI_PGSRC -- specifies the source for the initial page contents of
796 ; the Wiki. The setting of WIKI_PGSRC only has effect when the wiki is
797 ; accessed for the first time (or after clearing the database.)
798 ; WIKI_PGSRC can either name a directory or a zip file. In either case
799 ; WIKI_PGSRC is scanned for files -- one file per page.
800 ;WIKI_PGSRC = pgsrc
801
802 ; DEFAULT_WIKI_PGSRC is only used when the language is *not* the
803 ; default (English) and when reading from a directory: in that case
804 ; some English pages are inserted into the wiki as well.
805 ; DEFAULT_WIKI_PGSRC defines where the English pages reside.
806 ;DEFAULT_WIKI_PGSRC = pgsrc
807 ; These are ':'-seperated pages which will get loaded untranslated from DEFAULT_WIKI_PGSRC.
808 ;DEFAULT_WIKI_PAGES = "ReleaseNotes:SteveWainstead:TestPage"
809
810 ;=========================================================================
811 ; Part Five: Mark-up options.
812 ;=========================================================================
813 ;
814 ; Allowed protocols for links - be careful not to allow "javascript:"
815 ; URL of these types will be automatically linked.
816 ; within a named link [name|uri] one more protocol is defined: phpwiki
817 ; Separate each of the protocol names with a vertical pipe, and ensure there
818 ; is no extraneous whitespace.
819 ;ALLOWED_PROTOCOLS = "http|https|mailto|ftp|news|nntp|ssh|gopher"
820
821 ; URLs ending with the following extension should be inlined as images.
822 ; Specify as per ALLOWED_PROTOCOLS.
823 ; Note that you can now also allow class|svg|svgz|vrml|swf ...,
824 ; which will create embedded <object> instead of <img>. 
825 ; Typical CGI extensions as pl or cgi maybe allowed too, but those two will be enforced to <img>
826 ;INLINE_IMAGES = "png|jpg|gif"
827
828 ; Perl regexp for WikiNames ("bumpy words")
829 ; (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well
830 ;WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
831
832 ; Defaults to '/', but '.' was also used.
833 ;SUBPAGE_SEPARATOR = /
834
835 ; InterWiki linking -- wiki-style links to other wikis on the web
836 ;
837 ; The map will be taken from a page name InterWikiMap.
838 ; If that page is not found (or is not locked), or map
839 ; data can not be found in it, then the file specified
840 ; by INTERWIKI_MAP_FILE (if any) will be used.
841 ;INTERWIKI_MAP_FILE = lib/interwiki.map
842
843 ; Display a warning if the internal lib/interwiki.map is used, and 
844 ; not the public InterWikiMap page. This file is not readable from outside.
845 ;WARN_NONPUBLIC_INTERWIKIMAP = false
846
847 ; Search term used for automatic page classification by keyword extraction.
848 ;
849 ; Any links on a page to pages whose names match this search 
850 ; will be used keywords in the keywords html meta tag. This is an aid to
851 ; classification by search engines. The value of the match is
852 ; used as the keyword.
853 ;
854 ; The default behavior is to match Category* or Topic* links.
855 ;KEYWORDS = "Category* OR Topic*"
856
857 ; Author and Copyright Site Navigation Links
858 ;
859 ; These will be inserted as <link rel> tags in the html header of
860 ; every page, for search engines and for browsers like Mozilla which
861 ; take advantage of link rel site navigation.
862 ;
863 ; If you have your own copyright and contact information pages change
864 ; these as appropriate.
865 ;COPYRIGHTPAGE_TITLE = "GNU General Public License"
866 ;COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/gpl.html#SEC1"
867 ; Other useful alternatives to consider:
868 ; COPYRIGHTPAGE_TITLE = "GNU Free Documentation License"
869 ; COPYRIGHTPAGE_URL = "http://www.gnu.org/copyleft/fdl.html"
870 ; COPYRIGHTPAGE_TITLE = "Creative Commons License 2.0"
871 ; COPYRIGHTPAGE_URL = "http://creativecommons.org/licenses/by/2.0/"
872 ;  see http://creativecommons.org/learn/licenses/ for variations
873 ;AUTHORPAGE_TITLE = The PhpWiki Programming Team
874 ;AUTHORPAGE_URL = http://phpwiki.org/ThePhpWikiProgrammingTeam
875
876 ; Allow full markup in headers to be parsed by the CreateToc plugin.
877 ;
878 ; If false you may not use WikiWords or [] links or any other markup in 
879 ; headers in pages with the CreateToc plugin. But if false the parsing is 
880 ; faster and more stable.
881 ;TOC_FULL_SYNTAX = true
882
883 ;==========================================================================
884 ; Part Six: URL options.
885 ;==========================================================================
886 ;
887 ; You can probably skip this section.
888
889 ; The following section contains settings which you can use to tailor
890 ; the URLs which PhpWiki generates.
891 ;
892 ; Any of these parameters which are left undefined will be deduced
893 ; automatically. You need only set them explicitly if the
894 ; auto-detected values prove to be incorrect.
895 ;
896 ; In most cases the auto-detected values should work fine, so
897 ; hopefully you don't need to mess with this section.
898 ;
899 ; In case of local overrides of short placeholders, which themselves 
900 ; include index.php, we check for most constants. See '/wiki'.
901 ; We can override DATA_PATH and PHPWIKI_DIR to support multiple phpwiki 
902 ; versions (for development), but most likely other values like 
903 ; THEME, LANG and DbParams for a WikiFarm.
904
905 ; Canonical name and httpd port of the server on which this PhpWiki
906 ; resides.
907 ;/
908 ;SERVER_NAME = some.host.com
909 ;SERVER_PORT = 80
910
911 ; Relative URL (from the server root) of the PhpWiki
912 ; script.
913 ;SCRIPT_NAME = /some/where/index.php
914
915 ; URL of the PhpWiki install directory.  (You only need to set this
916 ; if you've moved index.php out of the install directory.)  This can
917 ; be either a relative URL (from the directory where the top-level
918 ; PhpWiki script is) or an absolute one.
919 ;DATA_PATH = /home/user/phpwiki
920
921 ; Path to the PhpWiki install directory.  This is the local
922 ; filesystem counterpart to DATA_PATH.  (If you have to set
923 ; DATA_PATH, your probably have to set this as well.)  This can be
924 ; either an absolute path, or a relative path interpreted from the
925 ; directory where the top-level PhpWiki script (normally index.php)
926 ; resides.
927 ;PHPWIKI_DIR = /home/user/public_html/phpwiki
928
929 ; PhpWiki will try to use short urls to pages, eg 
930 ; http://www.example.com/index.php/HomePage
931 ; If you want to use urls like 
932 ; http://www.example.com/index.php?pagename=HomePage
933 ; then define 'USE_PATH_INFO' as false by uncommenting the line below.
934 ; NB:  If you are using Apache >= 2.0.30, then you may need to to use
935 ; the directive "AcceptPathInfo On" in your Apache configuration file
936 ; (or in an appropriate <.htaccess> file) for the short urls to work:  
937 ; See http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
938
939 ; See also http://phpwiki.sourceforge.net/phpwiki/PrettyWiki for more ideas
940 ; on prettifying your urls.
941 ;
942 ; Note that Google doesn't follow the default /index.php/PageName links.
943 ; You must use either a PrettyWiki setup (see below), or force USE_PATH_INFO=false.
944 ;
945 ; Default: PhpWiki will try to divine whether use of PATH_INFO
946 ; is supported in by your webserver/PHP configuration, and will
947 ; use PATH_INFO if it thinks that is possible.
948 ;USE_PATH_INFO = false
949
950 ; VIRTUAL_PATH is the canonical URL path under which your your wiki
951 ; appears. Normally this is the same as dirname(SCRIPT_NAME), however
952 ; using, e.g. apaches mod_actions (or mod_rewrite), you can make it
953 ; something different.
954 ;
955 ; If you do this, you should set VIRTUAL_PATH here.
956 ;
957 ; E.g. your phpwiki might be installed at at /scripts/phpwiki/index.php,
958 ; but  * you've made it accessible through eg. /wiki/HomePage.
959 ;
960 ; One way to do this is to create a directory named 'wiki' in your
961 ; server root. The directory contains only one file: an .htaccess
962 ; file which reads something like:
963 ;
964 ;    Action x-phpwiki-page /scripts/phpwiki/index.php
965 ;    SetHandler x-phpwiki-page
966 ;    DirectoryIndex /scripts/phpwiki/index.php
967 ;
968 ; In that case you should set VIRTUAL_PATH to '/wiki'.
969 ;
970 ; (VIRTUAL_PATH is only used if USE_PATH_INFO is true.)
971 ;/
972 ;VIRTUAL_PATH = /SomeWiki
973
974 ; In case your system has no idea about /tmp, TEMP or TMPDIR, 
975 ; better provide it here. E.g. needed for zipdumps.
976 ;TEMP_DIR = /tmp
977
978 ;===========================================================================
979 ; Part Seven: Miscellaneous settings
980 ;===========================================================================
981
982 ; Disable HTTP redirects.
983 ; (You probably don't need to touch this.)
984 ;
985 ; PhpWiki uses HTTP redirects for some of it's functionality.
986 ; (e.g. after saving changes, PhpWiki redirects your browser to
987 ; view the page you just saved.)
988 ; Some web service providers (notably free European Lycos) don't seem to
989 ; allow these redirects.  (On Lycos the result in an "Internal Server Error"
990 ; report.)  In that case you can set DISABLE_HTTP_REDIRECT to true.
991 ; (In which case, PhpWiki will revert to sneakier tricks to try to
992 ; redirect the browser...)
993 ;DISABLE_HTTP_REDIRECT = true
994
995 ; Enable random quotes from a fortune directory when adding a new page.
996 ; Usually at /usr/share/fortune or /usr/share/games/fortune
997 ; If empty no quotes are inserted.
998 ;FORTUNE_DIR = /usr/share/fortune
999
1000 ; If you get a crash at loading LinkIcons you might want to disable 
1001 ; the getimagesize() function, which crashes on certain php versions and 
1002 ; and some external images (png's, ..). 
1003 ; getimagesize() is only needed for spam prevention.
1004 ;DISABLE_GETIMAGESIZE = true
1005
1006 ; Experimental: For using the Google API
1007 ;GOOGLE_LICENSE_KEY = "..."
1008
1009 ; Optional: administrative SQL DB access (for action=upgrade)
1010 ;DBADMIN_USER = 
1011 ;DBADMIN_PASSWD = 
1012
1013 ; Optional: external PDF executable, %s is the xhtml filename
1014 ;USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc --no-title %s"
1015
1016 ; Optional: SPAMASSASSIN wrapper. Only used if ENABLE_SPAMASSASSIN = true
1017 BABYCART_PATH = /usr/local/bin/babycart
1018
1019 ; If true don't use UserName/Blog/day/time pagenames for the ADMIN_USER, but 
1020 ; Blog/day/time only. Convenience for a single-user blog theme.
1021 ;BLOG_DEFAULT_EMPTY_PREFIX = true
1022
1023 ; Add additional EDIT_TOOLBAR buttons if defined:
1024 ; Insert a pagelink from this list:
1025 ;TOOLBAR_PAGELINK_PULLDOWN = *
1026 ; Insert a template from this list:
1027 ;TOOLBAR_TEMPLATE_PULLDOWN = Template*
1028
1029 ;===========================================================================
1030 ; Part Eight: PLUGINCACHED Pear/Cache Settings
1031 ;===========================================================================
1032
1033 ; Cache_Container storage class: 'file' is the fastest. See pear/Cache/Container/
1034 ;PLUGIN_CACHED_DATABASE = file
1035
1036 ; This is only used if database is set to file.
1037 ; The webserver must have write access to this dir!
1038 ;PLUGIN_CACHED_CACHE_DIR = /tmp/cache
1039 ; Every file name in the cache begins with this prefix
1040 ;PLUGIN_CACHED_FILENAME_PREFIX = phpwiki
1041
1042 ; The maximum total space in bytes of all files in the cache. When
1043 ; highwater is exceeded, a garbage collection will start.  It will
1044 ; collect garbage till 'lowwater' is reached.  Default: 4 * Megabyte
1045 ;PLUGIN_CACHED_HIGHWATER = 4194304
1046 ; Default: 3 * Megabyte
1047 ;PLUGIN_CACHED_LOWWATER  = 3145728
1048
1049 ; If an image has not been used for maxlifetime remove it from the
1050 ; cache. (Since there is also the highwater/lowwater mechanism and an
1051 ; image usually requires only 1kb you don't have to make it very
1052 ; small, I think.)  
1053 ; Default: 30 * Day (30 * 24*60*60)
1054 ;PLUGIN_CACHED_MAXLIFETIME = 2592000
1055
1056 ; Number of characters allowed to be send as 
1057 ; parameters in the url before using sessions
1058 ; vars instead. 
1059 ; Usually send plugin arguments as URL, but when they become
1060 ; longer than maxarglen store them in session variables.
1061 ; Setting it to 3000 worked fine for me, 30000 completely
1062 ; crashed my linux, 1000 should be safe.
1063 ;PLUGIN_CACHED_MAXARGLEN = 1000
1064
1065 ; Actually use the cache (should be always true unless you are
1066 ; debugging). If you want to avoid the usage of a cache but need
1067 ; WikiPlugins that nevertheless rely on a cache you might set
1068 ; 'PLUGIN_CACHED_USECACHE' to false. You still need to set
1069 ; 'PLUGIN_CACHED_CACHE_DIR' appropriately to allow image creation and
1070 ; you should set 'PLUGIN_CACHED_FORCE_SYNCMAP' to false.
1071 ;PLUGIN_CACHED_USECACHE = true
1072
1073 ; Will prevent image creation for an image map 'on demand'. It is a
1074 ; good idea to set this to 'true' because it will also prevent the
1075 ; html part not to fit to the image of the map.  If you don't use a
1076 ; cache, you have to set it to 'false', maps will not work otherwise
1077 ; but strange effects may happen if the output of an image map
1078 ; producing WikiPlugin is not completely determined by its parameters.
1079 ; (As it is the case for a graphical site map.)
1080 ;PLUGIN_CACHED_FORCE_SYNCMAP = true
1081
1082 ; If ImageTypes() does not exist (PHP < 4.0.2) allow the
1083 ; following image formats (IMG_PNG | IMG_GIF | IMG_JPG | IMG_WBMP)
1084 ; In principal all image types which are compiled into php: 
1085 ;   libgd, libpng, libjpeg, libungif, libtiff, libgd2, ...
1086 ;PLUGIN_CACHED_IMGTYPES = "png|gif|gd|gd2|jpeg|wbmp|xbm|xpm"