Konfiguration
In der Datei wiki.cfg können globale Parameter konfiguriert werden (folgendes sind die Defaultwerte):
########################################################################################
# Configure ...
#---------------------------------------------------------------------------------------
# $WIKIHOME is the document root and first page shown when entering wiki.
# Must be a $validWikiName!
$WIKIHOME="Willkommen";
#---------------------------------------------------------------------------------------
# $REVISIONS sets the number of stored revisions. If Zlib is available it may be bigger.
$REVISIONS=($Zlib)?15:5;
#---------------------------------------------------------------------------------------
# colordesign presets
# THEAD TBODY CITE Mo-So Calender
@COLORS=("#EEEEEE","#FFFFCC","#CCDDCC","#CCCC00","#FFFFF0",
"#FFFFCF","#FFFFFC","#CCFFFF","#FCCFFF","#FFCCFF");
#---------------------------------------------------------------------------------------
$EMPTYPAGE= "Die Seite {WORD} ist noch leer ...n";
$PRIVATPAGE= "Die Seite {WORD} ist eine private Seite ...Hier gehts zum <a href={SELF}?{WORD}&do=login>login</a>";
$EXISTINGPAGE= "Die Seite <a href="{LAST}">{WORD}</a> existiert bereits!";
$OBSOLETPAGE= "INHALT NICHT MEHR AKTUELL";
$OBSOLETLAST= "aktuelle Version";
$INDEXTITEL= "[! Seite | Titel | Von | Vers. | Größe | Datum !]n";
$INDEXNONE= "Es konnten keine entspechenden Seiten gefunden werden!";
$UPLOADTITEL= "[! | Name | Byte | Größe | Aussehen !]n";
$UPLOADTYPES= "Gültige Dateitypen";
$UPLOADSELFILES="Selektierte Dateien";
$UPLOADRENAME= "umbenennen";
$UPLOADCOPY= "kopieren";
$UPLOADREMOVE= "löschen";
$UPLOADTURN90= "nach rechts drehen (nur *.jpg)";
$UPLOADTURN270= "nach links drehen (nur *.jpg)";
$UPLOADSGRAY= "schwarz/weiß (nur *.jpg)";
$UPLOADSLOWQ= "Qualität verringern (nur *.jpg)";
$UPLOADSMALLER= "verkleinern (nur *.jpg)";
#---------------------------------------------------------------------------------------
# Uploads bigger than $MAXUPLOADLENGTH will be rejected.
$MAXUPLOADLENGTH=200000;
#---------------------------------------------------------------------------------------
# Images bigger than $MAXIMAGEWIDTH and $MAXIMAGEHEIGHT are resized to that value.
# This thumbnail is linked to a page with the original sized image.
$MAXIMAGEWIDTH =260;
$MAXIMAGEHEIGHT=195;
#---------------------------------------------------------------------------------------
# Skip to the next image view after $IMAGESHOWDELAY seconds at single image view.
$IMAGESHOWDELAY=5;
#---------------------------------------------------------------------------------------
# $VALIDMIME defines the valid extension for uploading
$VALIDMIME="avi|csv|dbf|doc|gif|html?|jpg|mid|mov|mp3|mpe?g|pdf|png|rtf|swf|sxw|tgz|txt|war|wmv|xls|zip";
$SEARCHEXT="csv|dbf|gif|html?|jpg|rtf|txt";
$IMGEXT ="gif|jpg|png";
$AUDIOEXT ="mid|mp3|wav";
$VIDEOEXT ="avi|mov|mpe?g|swf|wmv";
#---------------------------------------------------------------------------------------
# $HTMLROOT defines the static-html destination for "Admin" -> "publish".
# $URLROOT defines the destination URL / http://www.grobner.at/cgi-bin/wiki.cgi?Wiki'DokuKonfiguration-value of static-html pages.
# If both are "", publish is disabled.
$HTMLROOT="";
$URLROOT= "";
#---------------------------------------------------------------------------------------
# If $ICONROOT is defined, static icons from that path are used instead that from wiki.icons.tgz
$ICONROOT="";
#---------------------------------------------------------------------------------------
# URL to a "wiki.install.tgz" which shall be the source of the update function.
# If it is "", update is disabled.
$UPDATEFROM="http://grobner.at/cgi-bin/wiki.install.tgz";
#---------------------------------------------------------------------------------------
# %TAGALIAS defines aliases of "{tag }"-tags
%TAGALIAS=();
#---------------------------------------------------------------------------------------
#
$LANG=$LOCALE="de_AT";
#---------------------------------------------------------------------------------------
# Default image effect map-file for screen and printer page
$COLORMAP='';
$PRINTMAP='gray';
#---------------------------------------------------------------------------------------
# Pages bigger than $MAXCOMPR are stored not L12/L16-compressed (ignored if Zlib and LZS is used)
$MAXCOMPR=150000;
#---------------------------------------------------------------------------------------
# %SMARTLINKS defines aliases of "[SMARTLINK: ... ]"-tags
%SMARTLINKS=
(
'GOOGLE' => ['http://www.google.at/search?ie=UTF-8&hl=de&q='],
'WIKIPEDIA' => ['http://de.wikipedia.org/wiki/'],
'MOVIEDB' => ['http://www.imdb.com/find?tt=on;nm=on;mx=20;q='],
'ALLMOVIE' => ['http://www.allmovie.com/cg/avg.dll?p=avg&TYPE=12&srch='],
'CDARTIST' => ['http://www.allmusic.com/cg/amg.dll?p=amg&sql=1'],
'CDTITLE' => ['http://www.allmusic.com/cg/amg.dll?p=amg&sql=2'],
'CDTITEL' => ['http://www.allmusic.com/cg/amg.dll?p=amg&sql=2'],
'CDSONG' => ['http://www.allmusic.com/cg/amg.dll?p=amg&sql=3'],
'CDARTIST' => ['http://musicstore.real.com/music_store/search?type=art&value='],
'CDTITLE' => ['http://musicstore.real.com/music_store/search?type=alb&value='],
'CDTITEL' => ['http://musicstore.real.com/music_store/search?type=alb&value='],
'CDSONG' => ['http://musicstore.real.com/music_store/search?type=trk&value='],
'KNO' => ['http://www.buchkatalog.de/kod-bin/isuche.cgi?dbname=Buchkatalog?=deutsch&location=Profisuche&SB=','-'],
'BUCH24' => ['http://www1.buch24.de/9010-25133994/shopdirekt.cgi?id=0&p=&t=searchresult.html&h=&f=ffprofi&limit=30&sid=1&static=1&keywords=&author=&schlag=&verlag=&format=&artnr=','-'],
'BUCHHANDEL' => ['http://www.buchhandel.de/vlb/vlb.cgi?&type=voll&isbn=', '-'],
'AMAZON' => ['http://www.amazon.de/exec/obidos/ASIN/', '-'],
'ABEBOOKS' => ['http://www.abebooks.de/servlet/BookSearchPL?ph=2&isbn=','-'],
'LOB' => ['http://www.lob.de/cgi-bin/work/suche?flag=new&stich1=', '-'],
'BUTLER' => ['http://at.bookbutler.info/Crawl.po?typ=i&lng=1&in=', '-'],
'LIONCC' => ['http://shop.lion.cc/php/suche.php?PO_ID=1100&TI_ISBN=', '-'],
'ISBN' => ['http://at.bookbutler.info/Crawl.po?typ=i&lng=1&in=', '-'],
'ISBN' => ['http://de.wikipedia.org/w/wiki.phtml?title=Spezial:Booksources&isbn='],
'TEL' => ['/cgi-bin/wiki.cgi?&do=index&ok=ok&find='],
'PLZ' => ['http://www.multimap.com/map/places.cgi?client=public&lang=&db=AT&advanced=&addr2=&client=public&addr3=&overviewmap=&pc='],
'ORT' => ['http://www.multimap.com/map/places.cgi?client=public&lang=&db=AT&pc=&advanced=&addr2=&client=public&overviewmap=&addr3='],
'GEODB' => ['http://www.innweb.at/map/opengeodb.php?q='],
);
#---------------------------------------------------------------------------------------
#
$RSS='';
$RSSPUB='';
$RSSUSEIP=0;
$RSSTITLE="$ENV{SERVER_NAME}";
$RSSDESCRIPTION='';
$RSSTEXTINPUT='';
$RSSCOPYRIGHT="Wiki Version $VERSION; (c) 2003-2004 by peter@grobner.at";
#---------------------------------------------------------------------------------------
# If $KEEPDELETED is set other than 0, deleted pages will be moved tu "Deleted'$word"
$KEEPDELETED=0;
#---------------------------------------------------------------------------------------
# Offer a chooser at the login page if auto-logout should be used or not.
$USEREMEMBERME=0;
#---------------------------------------------------------------------------------------
# If $USEGZIPENCODING is set other than 0, content is submited gzip-compressed
$USEGZIPENCODING=0;
#
# End of configuration part!
########################################################################################
zurück zur Wiki'Dokumentation
|