WackoWiki: Configuration

https://wackowiki.org/doc     Version: 71 (11/13/2026 14:37)

Configuration

Also available in Deutsch[link1], Française[link2], Русский[link3]

for WackoWiki R6.3.1


This page documents the configuration of WackoWiki R6.3.1 (constant WACKO_VERSION in config/constants.php).

The configuration is split in two parts:
  • Primary settings — written by the installer into config/config.php. Only these 17 keys belong there.
  • Secondary settings — stored in the config table of the database (<table_prefix>config, columns config_name / config_value). They can be changed in the AdminPanel[link4] or directly in the table.

The built-in defaults are defined in config/config_defaults.php. Do not edit that file — it is used only when config/config.php is absent.
Constants are defined in config/constants.php.

1. configuration files


Changes in the secondary config can be done in two ways:
  1. editing the config_value in the config table, e.g. via phpMyAdmin.
    • config_name config_value
      news_cluster News
    • Don't forget to delete the config cache (_cache/config/) afterwards, e.g. via {{admincache}}
  2. the Admin panel[link4]

2. primary settings

These are the only settings written to config/config.php (see setup/write-config.php).

'base_url' => 'https://example.com/wiki/',
- the complete address (URL) where the wiki is located.
- must end with a slash, page names are appended to it.
- a relative value ('/wiki/') may be used if the wiki is called locally or over an internal name; the installer fills this value in automatically from the server environment.
- not stored in the config table — it is a primary setting only.

'db_driver' => 'mysqli',
- database driver name → database PHP extension name.
- the legacy value mysqli_legacy is automatically converted to mysqli.
- during an upgrade the engine cannot be switched between SQLite and MariaDB/MySQL.

'db_charset' => 'utf8mb4',
- client character set of the database connection. utf8mb4 is the only offered value.

'db_collation' => 'utf8mb4_unicode_520_ci',
- collation used to determine the sort order of the ORDER BY clause.
- for SQLite the value is empty.

'db_engine' => 'InnoDB',
- preferred database engine. InnoDB is the only offered value.
- for SQLite the value is set to SQLite3.

'db_vendor' => 'mysql',
- mariadb or mysql; used to distinguish incompatible session SQL modes.
- the built-in default is mysql; the installer offers MariaDB as the first (default) choice.

'db_host' => 'localhost',
- the host on which the database server runs (usually localhost or 127.0.0.1).
- not used for SQLite.

'db_port' => '3306',
- port of the database server; for MySQL/MariaDB the default 3306 is used when the value is empty.
- not used for SQLite.

'db_name' => 'wacko',
- the name of the database.
- for SQLite this is the path to the database file; the data directory must not be reachable via the web.

'db_user' => 'db_user',
- the name of the database user.

'db_password' => 'mypassword',
- password of the database user.

'sql_mode' => '0',
- SQL mode of the database session.
- not applicable to SQLite.

'table_prefix' => 'wacko_',
- prefix of all database tables; allows several wikis in one database.
- for SQLite the prefix is always empty.

'system_seed' => '12345678901234567890',
- system seed; the installer generates a random 20 character token.
- it is used to derive the hash of the password reset codes, the permalinks ({{hashid}}) and the recovery password. Changing it invalidates the pending password reset links.

'hashid_seed' => '12345678901234567890',
- seed for the permalink generation with the {{hashid}} action; the installer generates a random 20 character token.
- changing it invalidates all previously generated permalinks.

'recovery_password' => '',
- contains the password hash for the recovery password, which can be generated with the action {{admin_recovery}} (administrator rights required).
- the recovery password is needed to log in to the admin panel[link4] if no administrator account is available.
- without a specified password hash (or with a changed system_seed) the access to the admin panel is not possible.

'wacko_version' => '6.3.1',
- WackoWiki version (do not change, this should only be changed by upgrading the WackoWiki software!). The value is taken from the constant WACKO_VERSION.

3. secondary settings

Stored in the config table of the database. All the following values are the built-in defaults from config/config_defaults.php and can be changed in the corresponding module of the AdminPanel[link4].

3.1. Basic settings (Admin Panel → Basic)


'site_name' => 'MyWikiSite',
- the name of the wiki site; it appears in the browser title, in the theme header, in e-mail notifications, etc.
- the default subject prefix of notification e-mails is derived from this value (email_subject_prefix).

'site_desc' => 'Cover what you do best. Link to the rest.',
- short description of the site; it supplements the title in the page header.

'admin_name' => 'WikiAdmin',
- WikiName of the administrator of the site; it is used for the login to the wiki.
- the name does not determine access rights, but it should match the name of the chief administrator.

'language' => 'en',
- default language of the interface and of the messages shown to guests: ru — Russian, en — English, fr — French, and so on.

'multilanguage' => 0,
- allows selecting the language on a page-by-page basis.

'allowed_languages' => 0,
- list of the languages that may be used, comma-separated (e.g. en,de,fr).
- 0 — all available languages are allowed.

'enable_comments' => 1,
- comments on pages.

'comments_offset' => 0,
- which comment page is shown by default.

'sorting_comments' => 0,
- order of the comments.

'footer_comments' => 1,
- display of the comments panel at the bottom of a page.

'footer_files' => 1,
- display of the attachments panel at the bottom of a page.

'footer_tags' => 1,
- display of the tags panel at the bottom of a page.

'wikiedit_toolbar' => [...],
- list of the buttons of the editor toolbar (stored as JSON in the config table).
- the full default list is stored in the constant TB_DEFAULT (config/constants.php).

'show_permalink' => 0,
- display of the permalink of the current version of a page ({{hashid}}).

'hide_toc' => 0,
- display of the table of contents panel.

'hide_index' => 0,
- display of the panel of adjacent pages.

'tree_level' => 1,
- which subpages are displayed in the index panel.

'sticky_toc' => 0,
- master switch of the sticky sidebar table of contents.

'sticky_toc_neighbours' => 5,
- number of items shown above/below the active entry (0 — show all).

'sticky_toc_min' => 2,
- minimum number of headings before the sidebar appears.

'sticky_toc_comments' => 1,
- include the headings of the comments in the sticky ToC.

'menu_items' => 5,
- default number of the shown menu (bookmark) items.

'hide_revisions' => 0,
- display of the revisions of a page.

'attachments_handler' => 2,
- permits the display of the attachments handler.

'source_handler' => 1,
- permits the display of the source handler.

'export_handler' => 2,
- permits the display of the XML export handler (export.xml).

'diff_modes' => '0,1,2,3,4,5',
- list of the diff modes the user may choose, comma-separated.
- it is recommended to select only the set of modes really needed.

'default_diff_mode' => 3,
- preselected diff mode (3 — side by side).

'notify_diff_mode' => 2,
- diff mode used in the body of the notification e-mails; only the text/plain modes 2 (source), 6 (unified) and 7 (context) are offered.

'edit_summary' => 0,
- change summary (edit note) in the edit mode.

'minor_edit' => 0,
- minor edit option in the edit mode.

'section_edit' => 1,
- section editing: each headline starts a new section and a small edit link appears next to the headline.

'review' => 0,
- review option in the edit mode (pages must be approved by a reviewer).

'publish_anonymously' => 0,
- allows users to publish anonymously (to hide the name).

'default_rename_redirect' => 0,
- when a page is renamed, create a redirect from the old name.

'store_deleted_pages' => 1,
- keeps deleted pages, revisions and files in a special section for review and recovery.

'keep_deleted_time' => 0,
- storage time of the deleted pages in days; it only makes sense together with store_deleted_pages.

'pages_purge_time' => 0,
- storage time of the page history (revisions) in days.

'enable_referrers' => 0,
- permits the creation and the display of the external referrers.

'referrers_purge_time' => 1,
- storage time of the referring external pages in days.

'enable_counters' => 1,
- per page hit counters and the display of the simple statistics. The views of the page owner are not counted.

3.2. System settings (Admin Panel → System)


'debug' => 0,
- debugging mode; hardly necessary for standard users, mainly useful for developers.
- the full detail mode requires considerably more memory.

'debug_sql_threshold' => 0,
- in the detailed debug mode report only the queries that take longer than the given number of seconds (e.g. 0.01).

'debug_admin_only' => 0,
- show the debug data only for the administrator.

'cache' => 0,
- caches the rendered pages in _cache/page, which speeds up the subsequent requests.
- only valid for unregistered visitors; the cache is purged with {{admincache}}.

'cache_ttl' => 600,
- time to live of the cached pages in seconds (default 10 min).

'cache_sql' => 0,
- maintains a local cache of the results of certain SQL queries in _cache/query.

'cache_sql_ttl' => 600,
- time to live of the cached SQL query results in seconds.

'log_level' => 0,
- minimum priority of the events that are recorded in the log.

'log_default_show' => 1,
- minimum priority of the events displayed in the log by default.

'log_purge_time' => 0,
- remove the log entries after the given number of days (0 — keep forever).

'anonymize_ip' => 0,
- anonymize the IP addresses where applicable (page, revision, referrers).

'reverse_proxy' => 0,
- determine the IP address of the remote client from the X-Forwarded-For headers.
- enable this option only if the wiki really runs behind a reverse proxy.

'reverse_proxy_header' => '',
- name of the header that carries the client IP, if it is not X-Forwarded-For (the header value is a comma separated list; only the last, left-most entry is used).

'reverse_proxy_addresses' => '',
- comma separated list of the IP addresses of your own reverse proxies; the X-Forwarded-For information is trusted only if the request comes from one of these addresses.

'session_store' => 1,
- where the session data is stored.
- SQLite supports file sessions only.

'session_notice' => 0,
- display of the cause of the session termination.

'login_notice' => 0,
- display of the welcome-back notice.

'rewrite_mode' => 1,
- "short, beautiful URLs"; only possible if the server is configured with mod_rewrite (in httpd.conf or via .htaccess).
- the default value depends on the detection of the rewrite extension at install time; the value may be overwritten at runtime by the settings class.

3.3. Permissions settings (Admin Panel → Permissions)


'default_read_acl' => '*',
- default right for reading a page.

'default_write_acl' => '$',
- default right for writing a page (recording modifications).

'default_comment_acl' => '$',
- default right for leaving comments on a page.

'default_create_acl' => '$',
- default right for creating new (sub)pages.

'default_upload_acl' => 'Admins',
- default right for uploading files to a page.

'rename_global_acl' => 'Admins',
- permission to rename an entire cluster (all sub-pages).

'acl_lock' => 0,
- overwrites the ACL settings of all pages to read only; useful to close the editing for a period of time or as an emergency response to an exploit.

'hide_locked' => 1,
- hide the pages the user has no access to in the page lists (the link in the text stays visible).

'remove_onlyadmins' => 0,
- only administrators may delete pages.

'owners_can_remove_comments' => 1,
- allow the page owners to moderate the comments on their own pages.

'categories_handler' => 1,
- who may modify the category list of a page.

'moders_can_edit' => 3,
- human moderation expiration in days: moderators may only edit comments that were created no more than this number of days ago (the last comment of a topic is not affected).

3.4. Security settings (Admin Panel → Security)


'allow_registration' => 0,
- open user registration via the {{registration}} form.

'approve_new_user' => 0,
- new users must be approved by an administrator before they can log in.

'allow_persistent_cookie' => 1,
- allow persistent ("remember me") cookies.

'disable_wikiname' => 1,
- disable the mandatory WikiName (CamelCase) format of the user names; permits registration with traditional nicknames.

'username_chars_min' => 3,
- minimum number of characters in a user name.

'username_chars_max' => 20,
- maximum number of characters in a user name.

'allow_email_reuse' => 0,
- different users may register with the same e-mail address.

'email_confirmation' => 0,
- the user must verify the e-mail address before the first login.

'allowed_email_domains' => '',
- comma separated list of the allowed e-mail domains (e.g. example.com, local.lan); if empty, all domains are allowed.

'forbidden_email_domains' => '',
- comma separated list of the forbidden e-mail domains; only effective if the list of the allowed domains is empty.

'enable_captcha' => 1,
- show the captcha in the cases listed below (or when a security threshold is reached).

'captcha_new_comment' => 1,
- captcha for new comments (unregistered users).

'captcha_new_page' => 1,
- captcha for new pages (unregistered users).

'captcha_edit_page' => 1,
- captcha for editing pages (unregistered users).

'captcha_registration' => 1,
- captcha for the registration form.

'tls' => 0,
- use a TLS-secured connection; it also determines whether the Secure flag is set on the cookies.
- a missing TLS certificate on the server means the loss of access to the admin panel.

'tls_implicit' => 0,
- forcibly reconnect the client from HTTP to HTTPS.

'enable_security_headers' => 1,
- set the security headers (frame busting, clickjacking/XSS/CSRF protection).
- the CSP may cause problems with externally hosted resources; disabling it is a security risk.

'csp' => 1,
- Content Security Policy.

'permissions_policy' => 1,
- HTTP Permissions-Policy header.

'referrer_policy' => 7,
- the Referrer-Policy HTTP header governs which referrer information sent in the Referer header is included in the responses.

'pwd_min_chars' => 10,
- minimum length of the user password (longer passwords are more secure, e.g. 12 to 16 characters; the use of passphrases is encouraged).

'pwd_admin_min_chars' => 15,
- minimum length of the administrator password (e.g. 15 to 20 characters).

'pwd_char_classes' => 0,
- the required password complexity.

'pwd_unlike_login' => 1,
- additional complication.

'max_login_attempts' => 3,
- number of login attempts allowed for one account before the anti-spambot task (captcha) is triggered; 0 disables the task for distinct accounts.

'ip_login_limit_max' => 50,
- threshold of the login attempts allowed from a single IP address before the anti-spambot task is triggered (0 disables it); the option is currently not in use.

'form_token_time' => 7200,
- the time in seconds a user has to submit a form; a form may become invalid earlier if the session expires.

'session_length' => 30,
- lifetime of the session cookie in days.

'comment_delay' => 30,
- minimum delay in seconds between the publication of two comments by the same user (anti-flood).

'intercom_delay' => 30,
- minimum delay in seconds between two personal messages (anti-flood).

'registration_delay' => 10,
- minimum time in seconds that is required to fill out the registration form, to tell bots from humans.

3.5. Formatter settings (Admin Panel → Formatter)


'typografica' => 0,
- built-in typographical proofreader; disabling it speeds up the saving of pages and comments.

'paragrafica' => 1,
- built-in paragrafica; disabling it disconnects the automatic table of contents ({{toc}}).

'allow_rawhtml' => 1,
- allows the insertion of arbitrary HTML code; this option is potentially unsafe for an open site.

'disable_safehtml' => 0,
- filter of the dangerous HTML objects.
- turning the filter off on an open site with HTML support is extremely undesirable.

'allow_x11colors' => 0,
- extends the available colors for ??(color) background?? and !!(color) text!!; disabling it speeds up the saving of pages.

'disable_bracketslinks' => 0,
- disables the [[link]] and ((link)) syntax.

'disable_wikilinks' => 1,
- disables the linking of CamelCaseWords; useful when working across different clusters.
- more about the WackoFormatter...[link7]

'disable_formatters' => 0,
- disables the %%code%%% syntax used for the highlighters.

'legacy_inline_code' => 0,
- parse the wiki markup inside the inline code code (deprecated, will be removed).

'date_format' => 'dd.MM.y',
- format of the date (day, month, year).

'time_format' => 'HH:mm',
- format of the time (hour, minute).

'time_format_seconds' => 'HH:mm:ss',
- format of the exact time (hours, minutes, seconds).

'name_date_macro' => '%s (%s)',
- format of the ::@:: macro, e.g. UserName (17.11.2016 16:48).
- since R6.1.4 the local time/date is formatted with the ICU Formats[link8].

'timezone' => 'UTC',
- timezone used for the times shown to guests; a logged-in user can change the timezone in the user settings.

'american_date' => 1,
- uses the American date format (MM/dd/y) as the default for English.

'canonical' => 0,
- use fully canonical URLs.

'link_target' => 0,
- opens each external link in a new browser window (adds target="_blank").

'noreferrer' => 0,
- the browser does not send an HTTP referer header when the user follows the link (adds rel="noreferrer").

'nofollow' => 0,
- tells the search engines that the link should not affect the ranking of the target page (adds rel="nofollow").

'urls_underscores' => 0,
- forms the addresses (URLs) with underscores: https://example.com/WackoWiki becomes https://example.com/Wacko_Wiki.

'show_spaces' => 1,
- shows the spaces in the WikiNames, e.g. MyName is displayed as My Name.

'numerate_links' => 0,
- enumerates and lists all links at the bottom of the print view.

'youarehere_text' => '',
- visualizes the links to the same page; e.g. "<b>####</b>" turns all self-referencing links into bold text.
- for those people who dislike links to the same page.

3.6. Upload settings (Admin Panel → Upload)


'upload' => 'admins',
- right to upload files.
* a group name (e.g. admins) — only the members of this group may upload
- the group names are stored in lower case.

'upload_max_size' => 512000,
- maximum size of a single file in bytes (the default 512000 = 500 KiB).
- the value 0 means that the limit is only the one of the PHP configuration.
- in the Admin Panel the value is entered as a number plus a unit selector (bytes/KiB/MiB).

'upload_quota' => 0,
- total storage space for the attachments of the whole wiki; 0 = unlimited.

'upload_quota_per_user' => 104857600,
- storage quota of a single user in bytes (the default 100 MiB); 0 = unlimited.

'upload_translit' => 1,
- transliterate the file names to alphanumeric characters; highly recommended.

'upload_translit_lower' => 0,
- convert the file names to lower case; only effective with the transliteration enabled.

'upload_images_only' => 1,
- allow only the upload of image files.

'upload_allowed_exts' => '',
- comma separated list of the allowed extensions (e.g. png, ogg, mp4); if empty, all extensions are allowed.
- the extensions that are on the ban list are always removed from this list.

'upload_banned_exts' => 'asa, asax, ascx, ashx, asmx, asp, aspx, axd, bat, cdx, cer, cgi, cmd, com, config, cpl, csproj, cs, dll, exe, htm, html, htr, htw, ida, idc, idq, jhtml, js, jsb, jsp, licx, mht, mhtml, msi, phar, php, pht, phtm, phtml, pif, pl, printer, py, rem, resources, resx, scr, shtm, shtml, soap, ssi, stm, vb, vbproj, vbs, vdisco, vxd, webinfo, xap, xht, xhtm, xhtml',
- files with these extensions are forbidden for the upload.
- the option is not exposed in the Admin Panel and has to be changed in the config table.

'check_mimetype' => 1,
- some browsers can be tricked into assuming a wrong MIME type; this option rejects such files.

'mime_type_exclusions' => [...],
- list of the MIME types that are rejected in addition to the banned extensions (HTML, JavaScript, PHP, shell scripts, etc.).

'svg_sanitizer' => 1,
- sanitizes the uploaded SVG files to prevent SVG/XML vulnerabilities.

'create_thumbnail' => 0,
- create a thumbnail in all possible situations.

'image_quality' => 2,
- quality when scaling a thumbnail.

'max_image_area' => 0,
- maximum number of pixels a source image may have; this limits the memory usage of the image scaler.

'max_thumb_width' => 150,
- maximum width of a generated thumbnail in pixels; a generated thumbnail never exceeds this width.
- the Admin Panel offers 120, 150, 180, 200, 250 and 300 pixels.

'max_image_width' => 0,
- maximum width of an image on the pages; otherwise a scaled down thumbnail is generated.

'min_thumbnail_distance' => 50,
- do not create a thumbnail for the images that are smaller than this value; the option is not exposed in the Admin Panel.

3.7. Filter settings (Admin Panel → Filter)


'spam_filter' => 1,
- the spam filter searches the whole body of the page for the words listed in config/antispam.conf; if a match is found, the change is not saved.
- the word list itself is edited in the Admin Panel → Filter (one word or phrase fragment per line).

3.8. Email settings (Admin Panel → Email)


'enable_email' => 1,
- enables the sending of e-mails.

'enable_email_notification' => 1,
- allow the e-mail notifications; disabling them has no effect on the e-mails generated as a part of the user signup process.

'phpmailer_method' => 'mail',
- the function used to send the mails via the PHPMailer class[link9].

'email_from' => 'WackoWiki',
- the sender name used in the From: header of all the notification e-mails of the site.

'email_subject_prefix' => '',
- prefix of the subject of the notification e-mails, e.g. [Prefix] Topic; if empty, the site name is used.

'noreply_email' => '',
- the no-reply address that appears in the From: field of the notification e-mails, e.g. noreply@example.com.

'admin_email' => 'admin@example.com',
- e-mail of the administrator of the site; it is also used for the notification about new user accounts.

'abuse_email' => 'admin@example.com',
- address for requests of urgent matters (registration with a foreign e-mail, etc.); it may coincide with the previous one.

'smtp_host' => 'localhost',
- address of the SMTP server; the protocol must be included, e.g. ssl://mail.example.com.

'smtp_port' => 587,
- port of the SMTP server (default 587 for tls, possibly 25, and 465 for ssl).

'smtp_connection_mode' => '',
- encryption used for the SMTP connection; only used if a user name/password is set.

'smtp_auto_tls' => 0,
- opportunistic TLS: encrypt automatically if the server advertises TLS support.

'smtp_username' => '',
- user name, only if the SMTP server requires it.

'smtp_password' => '',
- password, only if the SMTP server requires it.
- Warning: this password is stored as plain text in the database, visible to everybody who can access the database or who can view this configuration page.

3.9. Notification settings (Admin Panel → Notifications)


'autosubscribe' => 1,
- automatically subscribes the author of a page to the notifications for this page.

'notify_page' => 2,
- notification on a page change.

'notify_comment' => 1,
- notification on a new comment.

'notify_minor_edit' => 1,
- sends the notifications also for the minor edits.

'notify_diff_mode' => 2,
- diff mode used in the body of the notification e-mails; only the text/plain modes 2 (source), 6 (unified) and 7 (context) are offered.

'notify_new_user_account' => 1,
- the administrator is notified when a new user has registered.

'notify_upload' => 1,
- the moderators are notified when a file has been uploaded.

'allow_intercom' => 0,
- allows other users to send personal messages to the e-mail address of the recipient without disclosing the address.

'allow_massemail' => 0,
- only the users who have permitted the administrators to e-mail them may be contacted with mass e-mails.

3.10. Syndication settings (Admin Panel → Syndication)


'enable_feeds' => 1,
- turns the RSS feeds on or off for the entire wiki.

'xml_changes_link' => 1,
- defines where the items of the XML changes feed link to.

'noindex' => 0,
- block the search engines, but allow the normal visitors; it overrides the page settings.

'opensearch' => 0,
- creates the OpenSearch description file in the xml folder and enables the autodiscovery of the search plugin in the HTML header.

'xml_sitemap' => 0,
- creates the XML sitemap file sitemap.xml in the xml folder; the path can be added to the robots.txt.

'xml_sitemap_gz' => 0,
- compress the sitemap with gzip to reduce the bandwidth requirement.

'xml_sitemap_time' => 1,
- generate the sitemap only once in the given number of days; 0 generates it on every page change.

3.11. Pages settings (Admin Panel → Pages)


'list_count' => 50,
- number of items shown in each list for guests, and the default value for new users.

'comments_count' => 10,
- number of comments shown per page; applies to all the comments of the site.

'forum_cluster' => 'Forum',
- root cluster of the forum section (action {{forums}}).

'forum_topics' => 10,
- number of topics displayed per page in the forum sections (action {{topics}}).

'news_cluster' => 'News',
- root cluster of the news section (action {{news}}).

'news_structure' => '',
- stores the articles optionally in sub-clusters by year/month or week.
- the derived regular expression is stored in news_levels.

'enable_license' => 0,
- show the license information.

'license' => '',
- the default license under which the content is released.

'allow_license_per_page' => 0,
- allow the page owner to choose the license via the page properties.

'root_page' => 'HomePage',
- tag of the home page; it is opened automatically when a user visits the site.

'help_page' => '',
- the documentation section for working with the site tools.

'privacy_page' => '',
- the page with the privacy policy of the site.

'terms_page' => '',
- the page with the rules of the site.

'search_page' => 'Search',
- page with the search form (action {{search}}).

'registration_page' => 'Registration',
- page for the registration of new users (action {{registration}}).

'login_page' => 'Login',
- login page of the site (action {{login}}).

'account_page' => 'Account',
- page to customize the user profile (action {{usersettings}}).

'password_page' => 'Password',
- page with the form to change/query the user password (action {{changepassword}}).

'users_page' => 'Users',
- page with the list of the registered users (action {{users}}).

'category_page' => 'Category',
- page with the list of the categorized pages (action {{category}}).

'groups_page' => 'Groups',
- page with the list of the working groups (action {{usergroups}}).

'whatsnew_page' => 'WhatsNew',
- page with the list of all new, deleted or changed pages, new attachments and comments (action {{whatsnew}}).

'changes_page' => '',
- page with the list of the last modified pages (action {{changes}}).

'comments_page' => '',
- page with the list of the recent comments (action {{commented}}).

'index_page' => 'Index',
- page with the list of all pages (action {{pageindex}}).

'random_page' => 'Random',
- page that loads a random page (action {{randompage}}).

'removals_page' => '',
- page with the list of the recently deleted pages (action {{deleted}}).

'wanted_page' => '',
- page with the list of the missing pages that are referenced (action {{wanted}}).

'orphaned_page' => '',
- page with the list of the existing pages that are not related by links to any other page (action {{orphaned}}).

'sandbox' => '',
- page where the users can practice their wiki markup skills.

3.12. Appearance settings (Admin Panel → Appearance)


'theme' => 'default',
- the template (skin) used by default; the themes are located in the theme/ folder.

'allow_themes' => 0,
- the themes the users may choose.

'allow_themes_per_page' => 0,
- allow the theme to be chosen per page by the page owner (via the page properties).

'theme_color' => '',
- the color of the browser address bar (CSS color).

'site_logo' => 'wacko_logo.png',
- the logo of the site; the maximum size is 2 MiB, the optimal dimensions are 255×55 pixels.

'logo_display' => 0,
- appearance of the logo.

'logo_height' => 50,
- height of the displayed logo in pixels.

'logo_width' => 108,
- width of the displayed logo in pixels.

'site_favicon' => '',
- the shortcut icon (favicon) of the site; it overrides the favicon of the theme. Maximum 64×64 pixels.

3.13. Other settings (not exposed in the Admin Panel)


'max_page_size' => 2097152,
- maximum size of a page in bytes (2 MiB).

'publish_anonymously' => 0,
- allows the users to publish anonymously (to hide the name).

'user_can_delete_account' => 0,
- allows the users to delete their own account.

'standard_handlers' => 'addcomment|admin\.php|attachments|categories|claim|clone|diff|edit|export\.xml|file|latex|moderate|new|permissions|purge|print|properties|rate|referrers|referrers_sites|remove|rename|review|revisions|revisions\.xml|show|source|upload|watch|watchers|wordprocessor',
- the collection of the page handlers (processors) that are available for the pages of the wiki.

'reserved_namespaces' => 'admin|file|image|js|robots\.txt|theme|xml',
- the namespaces that are reserved by the system and cannot be used as a cluster name.

'system_message' => '',
- the text of the system message that is shown on every page.

'system_message_type' => '',
- the type (CSS class) of the system message.

'system_message_audience' => 1,
- the audience the system message is shown to.

'enable_system_message' => 1,
- show the system message.

'ap_failed_login_count' => 0,
- number of failed login attempts in the Admin Panel before it is blocked.

'ap_max_login_attempts' => 4,
- maximum number of the login attempts in the Admin Panel.

'cookie_prefix' => '',
- prefix of the cookie names (useful if several wikis run on the same host).

'email_priority' => 3,
- priority of the notification e-mails (1 — highest … 5 — lowest).

'check_mx_record' => 0,
- check the MX record of the e-mail domain of the user.

'validate_email' => 1,
- validate the format of the e-mail address on the registration.

'email_pattern' => '',
- additional regular expression that every e-mail address must match.

'trusted_domains' => '',
- list of the trusted domains (the option is currently not in use).

'ext_bad_behaviour' => 0,
- enable the Bad Behaviour extension (spam protection).

4. constants

The detailed description of the configuration file config/constants.php

4.1. versions and requirements

4.2. paths

4.3. permissions and limits

4.4. SQL modes

- the mode in use is selected with the sql_mode setting: 0 server, 1 lax, 2 strict.

4.5. system values