====== Konfiguration des DokuWiki ====== Die meisten Eigenschaften des DokuWiki können durch diverse Optionen konfiguriert werden. Der einfachste Weg die Konfiguration zu bearbeiten ist das Benutzen des [[plugin:config|Konfigurations Managers]]. ===== Was kann im DokuWiki konfiguriert werden? ===== Die "Systemeinstellungen" von DokuWiki können in der Datei ''conf/dokuwiki.php'' gefunden werden. Diese Datei enthält die Standardeinstellungen des Systems. Um die Einstellungen zu ändern, müssen Sie es in ''conf/local.php'' ändern, falls diese Datei nicht existiert, erstellen Sie diese. Eine Liste, welche Einstellungen Sie ändern können, finden Sie in [[#Verfügbare Einstellungen]] unten. Benutzernamen, (verschlüsselte) Passwörter und Zugriffskontroll-Regeln sind in [[acl|users.auth.php and acl.auth.php]] gespeichert. Wenn Sie eine neue Datei mit dem Mediamanager hochladen möchten, können Sie auf die Nachricht ''"Upload denied. This file extension is forbidden!"'' stoßen. Dies Verhalten ist in der Datei ''conf/mime.conf'' geregelt. Um einen neuen Datei-Typ hochzuladen, müssen Sie diesen in der Datei [[mime|mime.conf]] bestimmen. Einige Einstellungen werden automatisch geändert, wenn sie Ihre Seiten ändern. Einige erstellen Tooltips, Smileys oder spezielle Zeichen. Diese Verhalten wird in [[Abkürzungen|acronyms.conf]], [[Smileys|smileys.conf]] oder [[entities|entities.conf]] eingestellt. ===== Zusammenfassung der Konfigurationsdateien ===== Alle Konfigurationsdateien befinden sich im ''./conf'' Ordner bzw. in ''/etc/dokuwiki'', wenn ein Debian Paket installiert wird. "Hauptdateien" werden normalerweise mit DokuWiki geliefert, hingegen müssen "lokale Dateien" vom Wiki-Administrator erzeugt werden. Falls lokale Dateien unterstützt werden, sollten Sie diese nutzen anstatt die Hauptdateien zu ändern, um Probleme beim Update zu vermeiden. ^ Hauptdatei ^ lokale Datei ^ Konfigurationstyp ^ Schnellinfo ^ |''dokuwiki.php'' |''local.php''\\ ''local.protected.php''|s.u. | Generelle Wiki Konfigurationen | |''acronyms.conf'' |''acronyms.local.conf'' |[[abbreviations]] | Automatische Abkürzungstips | |''entities.conf'' |''entities.local.conf'' |[[entities]] | Automatische Textersetzung | |''interwiki.conf'' |''interwiki.local.conf'' |[[interwiki]] | Interwiki Kurzlinks | |''mime.conf'' |''mime.local.conf'' |[[mime]] | Mimetyp-Einstellungen für Uploads | |''smileys.conf'' |''smileys.local.conf'' |[[smileys]] | Graphische Ersatz-Smileys | | |''acl.auth.php'' |siehe [[acl]] | Access-Control-Einstellungen | | |''users.auth.php'' |siehe [[acl]] | Benutzer und Paßwörter | |''mediameta.php'' | |[[exif]] | Metadaten für Bilder editierbar | |''wordblock.conf'' |''wordblock.local.conf'' |[[blacklist]] | Spam-Blacklist | | |''userscript.js'' |[[devel:javascript]] | Custom JavaScript Verbesserungen | | |''userstyle.css'' |[[devel:css]] | Custom CSS Verbesserungen | ===== Configuration Options ===== Most of [[DokuWiki]]'s features can be configured through various config options. The easiest way to modify these options is using the [[plugin:config|Configuration Manager]]. The available settings are listed below. Their default values are stored in a file called ''conf/dokuwiki.php''. If you want to modify a setting you should do this in a file called ''conf/local.php'' -- this makes sure your special configs are not overwritten by a later upgrade. The config manager will use this file as well. Here is a sample ''conf/local.php'': Some notes about the config file. The file is a piece of PHP code so the PHP syntax has to be preserved. E.g. each line has to have a semicolon at the end. There are multiple types of variables: * **Number**s can be written as is. Example: ''9'' * **String**s have to be enclosed in single or double quotes. Example: ''%%'foo bar'%%'' * **Boolean**s can be either ''true'' or ''false'' or ''1'' or ''0'' * **Array**s contain multiple values of one of the above types ==== Verfügbare Einstellungen ==== * **Basic Settings** * [[config:title]] * [[config:startpage|start]] * [[config:lang]] * [[config:template]] * [[config:license]] * [[config:savedir]] * [[config:basedir]] * [[config:baseurl]] * [[config:dmode]] * [[config:fmode]] * [[config:allowdebug]] * **Display Settings** * [[config:recent]] * [[config:breadcrumbs]] * [[config:youarehere]] * [[config:fullpath]] * [[config:typography]] * [[config:dformat]] * [[config:signature]] * [[config:toptoclevel]] * [[config:maxtoclevel]] * [[config:maxseclevel]] * [[config:camelcase]] * [[config:deaccent]] * [[config:useheading]] * [[config:refcheck]] * [[config:refshow]] * [[config:target]] * **Authentication Settings** * [[config:useacl]] * [[config:autopasswd]] * [[config:authtype]] * [[config:passcrypt]] * [[config:defaultgroup]] * [[config:superuser]] * [[config:manager]] * [[config:profileconfirm]] * [[config:rememberme]] * [[config:disableactions]] * [[config:sneaky_index]] * [[config:auth_security_timeout]] * [[config:securecookie]] * ** Anti-Spam Settings ** * [[config:usewordblock]] * [[config:relnofollow]] * [[config:indexdelay]] * [[config:mailguard]] * [[config:iexssprotect]] * ** Editing Settings ** * [[config:usedraft]] * [[config:htmlok]] * [[config:phpok]] * [[config:locktime]] * [[config:cachetime]] * ** Media Settings ** * [[config:gdlib]] * [[config:im_convert]] * [[config:jpg_quality]] * [[config:fetchsize]] * ** Syndication Options ** * [[config:rss_type]] * [[config:rss_linkto]] * [[config:rss_content]] * [[config:rss_update]] * [[config:rss_show_summary]] * [[config:notify]] * [[config:subscribers]] * [[config:registernotify]] * ** Advanced options ** * [[config:userewrite]] * [[config:useslash]] * [[config:sepchar]] * [[config:canonical]] * [[config:autoplural]] * [[config:mailfrom]] * [[config:compress]] * [[config:gzip_output]] * [[config:hidepages]] * [[config:sitemap]] * [[config:recent_days]] * [[config:broken_iua]] * [[config:xsendfile]] * [[config:xmlrpc]] * [[config:renderer_xhtml]] * ** Network Settings ** * [[config:updatecheck]] * [[config:compression]] * [[config:send404]] * [[config:proxy]] * [[config:safemodehack]] * [[config:ftp]]